1
0
Fork 0
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:
Fedor Katurov 2021-03-06 14:50:19 +07:00
parent 68249a4c62
commit 9579cd689a

View file

@ -13,5 +13,5 @@ export const useNodeCoverImage = (node: INode) => {
return () => {
nodeSetCoverImage(undefined);
};
}, [dispatch, node.cover]);
}, [dispatch, node.cover, node.id]);
};