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:
parent
277f0fea43
commit
0de8168297
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue