Skip to content

Commit

Permalink
fix: fix blank screen after refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jul 23, 2023
1 parent 3da119e commit 4ab3211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/PersonalSetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ const PersonalSetting = () => {
<Form size='large'>
<Form.Input
fluid
placeholder={`输入你的账户名 ${userState.user.username} 以确认删除`}
placeholder={`输入你的账户名 ${userState?.user?.username} 以确认删除`}
name='self_account_deletion_confirmation'
value={inputs.self_account_deletion_confirmation}
onChange={handleInputChange}
Expand Down

0 comments on commit 4ab3211

Please sign in to comment.