aboutsummaryrefslogtreecommitdiff
path: root/src/Board.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Board.js')
-rw-r--r--src/Board.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Board.js b/src/Board.js
index 514687b..34c7967 100644
--- a/src/Board.js
+++ b/src/Board.js
@@ -79,7 +79,7 @@ class Board extends Component {
return (
<div>
{threadList.map(thread => (
- <Segment.Group>
+ <Segment.Group key={thread.id}>
<Header as="h4" attached>
<Link to={`/${this.props.dir}/read/${thread.id}`}>
{thread.subject}
@@ -102,6 +102,7 @@ class Board extends Component {
locked={thread.locked}
threadId={thread.id}
dir={this.props.dir}
+ key={index}
/>
))}
</Comment.Group>