1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed useMemo for blocks

This commit is contained in:
Fedor Katurov 2021-02-24 15:28:31 +07:00
parent 1fc04e62a6
commit c383356a4c

View file

@ -54,7 +54,7 @@ const CommentContent: FC<IProps> = memo(
!!comment.text.trim() !!comment.text.trim()
? formatCommentText(path(['user', 'username'], comment), comment.text) ? formatCommentText(path(['user', 'username'], comment), comment.text)
: [], : [],
[comment] [comment.text]
); );
return ( return (