From 3b8aa38192d4845c0eb644e459efe5da395b6a3d Mon Sep 17 00:00:00 2001 From: shuai Date: Thu, 16 Feb 2023 14:56:22 +0800 Subject: [PATCH] fix: general setting filter XSS data --- ui/src/pages/Admin/General/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/Admin/General/index.tsx b/ui/src/pages/Admin/General/index.tsx index b6a10162..e6f2c803 100644 --- a/ui/src/pages/Admin/General/index.tsx +++ b/ui/src/pages/Admin/General/index.tsx @@ -119,7 +119,7 @@ const General: FC = () => { } setFormData({ ...formData }); - updateSiteInfo(reqParams); + updateSiteInfo(res); }) .catch((err) => { if (err.isError) {