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

99: made node use SWR

This commit is contained in:
Fedor Katurov 2022-01-02 16:38:10 +07:00
parent 832386d39a
commit a1dfcc6048
27 changed files with 217 additions and 147 deletions

View file

@ -5,7 +5,7 @@ import { UPLOAD_TYPES } from '~/redux/uploads/constants';
import { IEditorComponentProps } from '~/redux/node/types';
import { useFileUploaderContext } from '~/utils/hooks/useFileUploader';
import { getFileType } from '~/utils/uploader';
import { useNodeFormContext } from '~/utils/hooks/useNodeFormFormik';
import { useNodeFormContext } from '~/utils/hooks/node/useNodeFormFormik';
import { Button } from '~/components/input/Button';
type IProps = IEditorComponentProps & {