mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
#35 fixed cover changing hook (again)
This commit is contained in:
parent
9579cd689a
commit
ce9dae941b
1 changed files with 0 additions and 1 deletions
|
@ -7,7 +7,6 @@ export const useNodeCoverImage = (node: INode) => {
|
|||
const dispatch = useDispatch();
|
||||
|
||||
useEffect(() => {
|
||||
if (!node.cover) return;
|
||||
dispatch(nodeSetCoverImage(node.cover));
|
||||
|
||||
return () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue