From c9f5da63ae7d6cefb5f546d642d8edf5867d872f Mon Sep 17 00:00:00 2001 From: "haitao(lj)" Date: Tue, 6 Dec 2022 15:47:31 +0800 Subject: [PATCH] fix(settings/account): remove debug code --- .../Users/Settings/Account/components/ModifyEmail/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/pages/Users/Settings/Account/components/ModifyEmail/index.tsx b/ui/src/pages/Users/Settings/Account/components/ModifyEmail/index.tsx index 6e597771..1a7c13ed 100644 --- a/ui/src/pages/Users/Settings/Account/components/ModifyEmail/index.tsx +++ b/ui/src/pages/Users/Settings/Account/components/ModifyEmail/index.tsx @@ -23,7 +23,6 @@ const Index: FC = () => { const toast = useToast(); useEffect(() => { getLoggedUserInfo().then((resp) => { - resp.e_mail = 'haa@sifou.com'; setUserInfo(resp); }); }, []);