mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46: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 () => {
|
return () => {
|
||||||
nodeSetCoverImage(undefined);
|
nodeSetCoverImage(undefined);
|
||||||
};
|
};
|
||||||
}, [dispatch, node.cover]);
|
}, [dispatch, node.cover, node.id]);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue