Skip to content

Commit

Permalink
fix to erroneous topic pop change
Browse files Browse the repository at this point in the history
  • Loading branch information
stephensprinkle committed Jul 31, 2017
1 parent 2c3c832 commit 58e10f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/topics/components/topic-rows.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const TopicRows = (p) => {
>
{rows[rowIndex].map((topic, topicIndex) => (
<Topic
key={topic === null ? `${JSON.stringify(row)}${rowIndex}${topicIndex}` : topic}
key={topic !== null && p.topics && p.topics[topic] ? JSON.stringify(p.topics[topic]) : `${JSON.stringify(row)}${rowIndex}${topicIndex}`}
isSpacer={topic === null}
isHero={p.hasHeroRow && rowIndex === 0}
topic={topic !== null && p.topics && p.topics[topic] ? p.topics[topic].topic : ''}
Expand Down

0 comments on commit 58e10f6

Please sign in to comment.