From 928e7fc069b59a6259a942dcef1e3fea3ccfb27d Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 12:05:04 -0300 Subject: keys! --- src/Board.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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> -- cgit v1.2.1-18-gbd029