diff --git a/packages/sanity/src/desk/comments/src/components/list/CommentsListItem.tsx b/packages/sanity/src/desk/comments/src/components/list/CommentsListItem.tsx index 242f518f3acb..8f78bafd8299 100644 --- a/packages/sanity/src/desk/comments/src/components/list/CommentsListItem.tsx +++ b/packages/sanity/src/desk/comments/src/components/list/CommentsListItem.tsx @@ -185,6 +185,38 @@ export const CommentsListItem = React.memo(function CommentsListItem(props: Comm } }, [replies]) + const renderedReplies = useMemo( + () => + splicedReplies.map((reply) => ( + + + + )), + [ + currentUser, + mentionOptions, + onCopyLink, + onCreateRetry, + onDelete, + onEdit, + readOnly, + splicedReplies, + ], + ) + return ( )} - {splicedReplies.map((reply) => ( - - - - ))} + {renderedReplies} {canReply && (