mirror of https://gitee.com/answerdev/answer.git
refactor(ui): update general
This commit is contained in:
parent
8faafda086
commit
1a317d6dce
|
@ -87,7 +87,9 @@ const General: FC = () => {
|
|||
},
|
||||
},
|
||||
};
|
||||
const [formData, setFormData] = useState(initFormData(schema));
|
||||
const [formData, setFormData] = useState<Type.FormDataType>(
|
||||
initFormData(schema),
|
||||
);
|
||||
|
||||
const onSubmit = (evt) => {
|
||||
evt.preventDefault();
|
||||
|
|
Loading…
Reference in New Issue