diff --git a/src/views/components/row.mjs b/src/views/components/row.mjs index 2da6491c..19cc7946 100644 --- a/src/views/components/row.mjs +++ b/src/views/components/row.mjs @@ -659,14 +659,14 @@ const row = ( >
diff --git a/src/web/src/CommentSection.jsx b/src/web/src/CommentSection.jsx index 581c0f5a..279d5100 100644 --- a/src/web/src/CommentSection.jsx +++ b/src/web/src/CommentSection.jsx @@ -17,11 +17,15 @@ function truncateName(name) { return name.slice(0, maxLength) + "..."; } -const Comment = React.forwardRef(({ comment, index }, ref) => { +const Comment = React.forwardRef(({ comment, storyIndex }, ref) => { return ( { ref={index === comments.length - 1 ? lastCommentRef : null} key={comment.index} comment={comment} - index={storyIndex} + storyIndex={storyIndex} /> ))}