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

This commit is contained in:
17hz authored and GitHub committed 2025-09-02 18:57:24 +08:00
1 parent af351b1723
commit 32972b45db
1 file changed
-1
@@ -69,7 +69,6 @@ export default function AccountPage() {
}
catch (e) {
notify({ type: 'error', message: (e as Error).message })
setEditNameModalVisible(false)
setEditing(false)
}
}