|
|
@ -27,7 +27,7 @@ const UpdateAccountDialog: React.FC<Props> = ({ destroy }: Props) => {
|
|
|
|
const userStore = useUserStore();
|
|
|
|
const userStore = useUserStore();
|
|
|
|
const [state, setState] = useState<State>({
|
|
|
|
const [state, setState] = useState<State>({
|
|
|
|
avatarUrl: currentUser.avatarUrl,
|
|
|
|
avatarUrl: currentUser.avatarUrl,
|
|
|
|
username: currentUser.name.replace(UserNamePrefix, ""),
|
|
|
|
username: currentUser.username,
|
|
|
|
nickname: currentUser.nickname,
|
|
|
|
nickname: currentUser.nickname,
|
|
|
|
email: currentUser.email,
|
|
|
|
email: currentUser.email,
|
|
|
|
description: currentUser.description,
|
|
|
|
description: currentUser.description,
|
|
|
|