fix: remove unnecessary modal visibility toggle on error in name save (#25001)

This commit is contained in:
17hz 2025-09-02 18:57:24 +08:00 committed by GitHub
parent af351b1723
commit 32972b45db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ export default function AccountPage() {
}
catch (e) {
notify({ type: 'error', message: (e as Error).message })
setEditNameModalVisible(false)
setEditing(false)
}
}