deps(node): typescript 3.9.6 => 4.1.3
This commit is contained in:
parent
9184cbdf11
commit
72be2808f3
7 changed files with 2582 additions and 2483 deletions
|
@ -24,7 +24,7 @@ const LazyCodemirrorEditor = lazy(() => import(/* webpackChunkName: "editor" */'
|
|||
|
||||
export default () => {
|
||||
const [ error, setError ] = useState('');
|
||||
const { action } = useParams();
|
||||
const { action } = useParams<{ action: string }>();
|
||||
const [ loading, setLoading ] = useState(action === 'edit');
|
||||
const [ content, setContent ] = useState('');
|
||||
const [ modalVisible, setModalVisible ] = useState(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue