Fix save profile name edit

This commit is contained in:
Jamie Kyle 2024-02-09 11:39:21 -08:00 committed by GitHub
parent 5137d882cf
commit 4a73b48f3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -315,7 +315,6 @@ export function ProfileEditor({
);
} else if (editState === EditState.ProfileName) {
const shouldDisableSave =
isLoadingAvatar ||
!stagedProfile.firstName ||
(stagedProfile.firstName === fullName.firstName &&
stagedProfile.familyName === fullName.familyName) ||