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:
parent
1fc04e62a6
commit
c383356a4c
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue