1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46: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); } = useShallowSelect(selectNode);
useNodeCoverImage(current); useNodeCoverImage(current);
useScrollToTop([id, comments, is_loading_comments]); useScrollToTop([id, is_loading_comments]);
useLoadNode(id, is_loading); useLoadNode(id, is_loading);
useOnNodeSeen(current); useOnNodeSeen(current);