From 44edf521fbbc7d5a84a9003704f333d78065654a Mon Sep 17 00:00:00 2001 From: JustSong Date: Fri, 25 Nov 2022 11:16:22 +0800 Subject: [PATCH] chore: update settings prompt --- web/src/pages/User/EditUser.js | 48 ++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/web/src/pages/User/EditUser.js b/web/src/pages/User/EditUser.js index d667097..b336421 100644 --- a/web/src/pages/User/EditUser.js +++ b/web/src/pages/User/EditUser.js @@ -13,9 +13,10 @@ const EditUser = () => { password: '', github_id: '', wechat_id: '', - email:'' + email: '', }); - const { username, display_name, password, github_id, wechat_id, email } = inputs; + const { username, display_name, password, github_id, wechat_id, email } = + inputs; const handleInputChange = (e, { name, value }) => { setInputs((inputs) => ({ ...inputs, [name]: value })); }; @@ -58,63 +59,66 @@ const EditUser = () => { return ( <> -
更新用户信息
-
+
更新用户信息
+