summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-09-21 18:41:22 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-09-22 14:25:26 -0700
commitf1700e765b979b0a3d3fba478dc468f61d5d1226 (patch)
treec1c3e3943268018e36d3ddbdd1f4ae07848bc0ee
parentac7918c5540900ab0dbe43d61b8c1155e4279b55 (diff)
downloadchat-f1700e765b979b0a3d3fba478dc468f61d5d1226.tar.gz
chat-f1700e765b979b0a3d3fba478dc468f61d5d1226.tar.bz2
chat-f1700e765b979b0a3d3fba478dc468f61d5d1226.zip
Small change to remove react warning
-rw-r--r--web/react/components/post_list_container.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/post_list_container.jsx b/web/react/components/post_list_container.jsx
index 0815ac883..e59d85d41 100644
--- a/web/react/components/post_list_container.jsx
+++ b/web/react/components/post_list_container.jsx
@@ -49,6 +49,7 @@ export default class PostListContainer extends React.Component {
for (let i = 0; i <= this.state.postLists.length - 1; i++) {
postListCtls.push(
<PostList
+ key={'postlistkey' + i}
channelId={postLists[i]}
isActive={postLists[i] === channelId}
/>