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 ( );