mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed ramda imports to reduce bundle size
This commit is contained in:
parent
a497912049
commit
097b091abd
47 changed files with 208 additions and 91 deletions
|
@ -1,12 +1,11 @@
|
|||
import React, { FC, useCallback, useMemo, useRef } from 'react';
|
||||
|
||||
import { values } from 'ramda';
|
||||
|
||||
import { EMPTY_NODE, NODE_TYPES } from '~/constants/node';
|
||||
import { EditorDialog } from '~/containers/dialogs/EditorDialog';
|
||||
import { useCreateNode } from '~/hooks/node/useCreateNode';
|
||||
import { INode } from '~/types';
|
||||
import { DialogComponentProps } from '~/types/modal';
|
||||
import { values } from '~/utils/ramda';
|
||||
|
||||
export interface EditorCreateDialogProps extends DialogComponentProps {
|
||||
type: typeof NODE_TYPES[keyof typeof NODE_TYPES];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue