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

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) ||