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

refactor PageCoverProvider

This commit is contained in:
Fedor Katurov 2023-11-19 17:26:29 +06:00
parent c53ac831e7
commit 60da84aad9
6 changed files with 13 additions and 17 deletions

View file

@ -1,5 +1,5 @@
import { usePageCover } from '~/components/containers/PageCoverProvider/usePageCover';
import { INode } from '~/types';
import { usePageCover } from '~/utils/providers/PageCoverProvider';
export const useNodeCoverImage = (node: INode) => {
usePageCover(node.cover);