mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
(nextjs) added eslint and import sorting
This commit is contained in:
parent
e5f8d5a551
commit
0838bf7ee6
330 changed files with 1576 additions and 896 deletions
|
@ -1,7 +1,8 @@
|
|||
import { useMemo } from 'react';
|
||||
import { canEditNode, canLikeNode, canStarNode } from '~/utils/node';
|
||||
import { INode } from '~/types';
|
||||
|
||||
import { useUser } from '~/hooks/auth/useUser';
|
||||
import { INode } from '~/types';
|
||||
import { canEditNode, canLikeNode, canStarNode } from '~/utils/node';
|
||||
|
||||
export const useNodePermissions = (node?: INode) => {
|
||||
const { user } = useUser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue