Style fix

This commit is contained in:
saplf
2019-09-03 21:32:57 +08:00
parent da6d2c0e68
commit 5ea8e8bc58
3 changed files with 7 additions and 1 deletions

View File

@@ -63,7 +63,11 @@ const AccountPage: React.FC<DispatchProp & UserModelState & AccountModelState> =
title="account.nickname"
message={user.nickname}
showGo={false}
onClick={() => dispatch({ type: 'account/onUpdateState', nameEditable: true })}
onClick={() => dispatch({
type: 'account/onUpdateState',
nameEditable: true,
nameInput: user.nickname,
})}
/>
<AccountItem
className="group"