mirror of
https://github.com/usememos/memos.git
synced 2025-10-27 14:56:30 +08:00
fix: edit account dialog fields
This commit is contained in:
parent
f7a445ac8b
commit
7331c598df
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ const UpdateAccountDialog: React.FC<Props> = ({ destroy }: Props) => {
|
|||
const userStore = useUserStore();
|
||||
const [state, setState] = useState<State>({
|
||||
avatarUrl: currentUser.avatarUrl,
|
||||
username: currentUser.name.replace(UserNamePrefix, ""),
|
||||
username: currentUser.username,
|
||||
nickname: currentUser.nickname,
|
||||
email: currentUser.email,
|
||||
description: currentUser.description,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue