aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-16 12:05:04 -0300
committerLibravatar Renard 2019-09-16 12:05:04 -0300
commit928e7fc069b59a6259a942dcef1e3fea3ccfb27d (patch)
tree3e5254303b2c6faa3f7573725fd03e0cc13609e5 /src
parent53b6128bf6d6903cdfc7371c1337e3178b4aba63 (diff)
downloadbai-client-928e7fc069b59a6259a942dcef1e3fea3ccfb27d.tar.gz
bai-client-928e7fc069b59a6259a942dcef1e3fea3ccfb27d.tar.xz
bai-client-928e7fc069b59a6259a942dcef1e3fea3ccfb27d.zip
keys!
Diffstat (limited to 'src')
-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>