mirror of https://github.com/fantasticit/think.git
fix: fix type
This commit is contained in:
parent
6c716b0dc2
commit
d10d44abf6
|
@ -3,7 +3,7 @@ import { Button } from '@douyinfe/semi-ui';
|
||||||
import { useToggle } from 'hooks/useToggle';
|
import { useToggle } from 'hooks/useToggle';
|
||||||
import { WikiCreator as WikiCreatorForm } from 'components/wiki/create';
|
import { WikiCreator as WikiCreatorForm } from 'components/wiki/create';
|
||||||
|
|
||||||
export const WikiCreator = ({ children }) => {
|
export const WikiCreator: React.FC = ({ children }) => {
|
||||||
const [visible, toggleVisible] = useToggle(false);
|
const [visible, toggleVisible] = useToggle(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue