mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-05 09:36:41 +07:00
(nextjs) fixed eslint warnings
This commit is contained in:
parent
c469722a86
commit
e5f8d5a551
29 changed files with 56 additions and 59 deletions
|
@ -26,7 +26,7 @@ const EditorDialog: FC<Props> = observer(({ node, onRequestClose, onSubmit }) =>
|
|||
|
||||
const uploader = useUploader(UploadSubject.Editor, UploadTarget.Nodes, node.files);
|
||||
const formik = useNodeFormFormik(node, uploader, onRequestClose, onSubmit);
|
||||
const { values, handleSubmit, dirty, status } = formik;
|
||||
const { values, handleSubmit, dirty } = formik;
|
||||
|
||||
const component = useMemo(() => node.type && prop(node.type, NODE_EDITORS), [node.type]);
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import { NodeCommentForm } from '~/components/node/NodeCommentForm';
|
|||
import { NodeRelatedBlock } from '~/components/node/NodeRelatedBlock';
|
||||
import { useNodeBlocks } from '~/hooks/node/useNodeBlocks';
|
||||
import { NodeTagsBlock } from '~/components/node/NodeTagsBlock';
|
||||
import StickyBox from 'react-sticky-box';
|
||||
import styles from './styles.module.scss';
|
||||
import { NodeAuthorBlock } from '~/components/node/NodeAuthorBlock';
|
||||
import { useNodeContext } from '~/utils/context/NodeContextProvider';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue