1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +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()
? formatCommentText(path(['user', 'username'], comment), comment.text)
: [],
[comment]
[comment.text]
);
return (