mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
#35 fixed cover changing hook
This commit is contained in:
parent
68249a4c62
commit
9579cd689a
1 changed files with 1 additions and 1 deletions
|
@ -13,5 +13,5 @@ export const useNodeCoverImage = (node: INode) => {
|
|||
return () => {
|
||||
nodeSetCoverImage(undefined);
|
||||
};
|
||||
}, [dispatch, node.cover]);
|
||||
}, [dispatch, node.cover, node.id]);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue