`DocumenCreatorForm` => `DocumentCreatorForm`
pull/260/head
YangFong 2024-03-06 10:33:54 +08:00
parent 8b18a56e71
commit ffff1b10c2
1 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import { IconPlus } from '@douyinfe/semi-icons';
import { Button, Tree as SemiTree, Typography } from '@douyinfe/semi-ui'; import { Button, Tree as SemiTree, Typography } from '@douyinfe/semi-ui';
import { DocumentActions } from 'components/document/actions'; import { DocumentActions } from 'components/document/actions';
import { DocumentCreator as DocumenCreatorForm } from 'components/document/create'; import { DocumentCreator as DocumentCreatorForm } from 'components/document/create';
import deepEqual from 'deep-equal'; import deepEqual from 'deep-equal';
import { CREATE_DOCUMENT, event, triggerCreateDocument } from 'event'; import { CREATE_DOCUMENT, event, triggerCreateDocument } from 'event';
import { useToggle } from 'hooks/use-toggle'; import { useToggle } from 'hooks/use-toggle';
@ -72,7 +72,12 @@ const AddDocument = () => {
}, [toggleVisible]); }, [toggleVisible]);
return ( return (
<DocumenCreatorForm wikiId={wikiId} parentDocumentId={documentId} visible={visible} toggleVisible={toggleVisible} /> <DocumentCreatorForm
wikiId={wikiId}
parentDocumentId={documentId}
visible={visible}
toggleVisible={toggleVisible}
/>
); );
}; };