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

fixed for nextjs, but it won't work

This commit is contained in:
Fedor Katurov 2020-11-06 18:36:28 +07:00
parent 33e9e01f29
commit 4b79b06106
39 changed files with 64 additions and 63 deletions

View file

@ -1,7 +1,7 @@
import { USER_ROLES } from '~/redux/auth/constants';
import { ICommentGroup, INode } from '~/redux/types';
import { IUser } from '~/redux/auth/types';
import path from 'ramda/es/path';
import { path } from 'ramda';
import { NODE_TYPES } from '~/redux/node/constants';
export const canEditNode = (node: Partial<INode>, user: Partial<IUser>): boolean =>