From 9b3c5550784e1567646aa2a003b27f17586575b0 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Thu, 11 Jul 2019 11:55:05 -0400 Subject: [PATCH] provide key to comments --- src/views/preview/comment/comment.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/preview/comment/comment.jsx b/src/views/preview/comment/comment.jsx index cbdeb7642..ef23195ea 100644 --- a/src/views/preview/comment/comment.jsx +++ b/src/views/preview/comment/comment.jsx @@ -196,11 +196,12 @@ class Comment extends React.Component { */} - {commentText.map(fragment => { + {commentText.map((fragment, index) => { if (typeof fragment === 'string') { return ( );