1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

removed node related from sagas and reducers

This commit is contained in:
Fedor Katurov 2021-11-21 17:15:44 +07:00
parent d202a8cb18
commit e8f8e3536d
7 changed files with 15 additions and 46 deletions

View file

@ -10,12 +10,11 @@ export const useFullNode = (id: string) => {
comments,
comment_count: commentsCount,
is_loading_comments: isLoadingComments,
related,
lastSeenCurrent,
} = useShallowSelect(selectNode);
useLoadNode(id);
useOnNodeSeen(node);
return { node, comments, commentsCount, related, lastSeenCurrent, isLoading, isLoadingComments };
return { node, comments, commentsCount, lastSeenCurrent, isLoading, isLoadingComments };
};