From 1a317d6dce945128f873430a8bcf15d40f09ad51 Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 30 Nov 2022 10:12:56 +0800 Subject: [PATCH] refactor(ui): update general --- ui/src/pages/Admin/General/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/pages/Admin/General/index.tsx b/ui/src/pages/Admin/General/index.tsx index d7a96054..a052ab7d 100644 --- a/ui/src/pages/Admin/General/index.tsx +++ b/ui/src/pages/Admin/General/index.tsx @@ -87,7 +87,9 @@ const General: FC = () => { }, }, }; - const [formData, setFormData] = useState(initFormData(schema)); + const [formData, setFormData] = useState( + initFormData(schema), + ); const onSubmit = (evt) => { evt.preventDefault();