1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed dependencies for useScrollToTop

This commit is contained in:
Fedor Katurov 2021-10-06 12:11:07 +07:00
parent 277f0fea43
commit 0de8168297

View file

@ -40,7 +40,7 @@ const NodeLayout: FC<IProps> = memo(
} = useShallowSelect(selectNode);
useNodeCoverImage(current);
useScrollToTop([id, comments, is_loading_comments]);
useScrollToTop([id, is_loading_comments]);
useLoadNode(id, is_loading);
useOnNodeSeen(current);