Fix save profile name edit

Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-02-09 14:04:36 -06:00 committed by GitHub
parent ab4350ad58
commit 4463071d56
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) ||