diff --git a/src/pages/settings/Security/SecuritySettingsPage.tsx b/src/pages/settings/Security/SecuritySettingsPage.tsx index 59ad56017c53..ea6207b562dd 100644 --- a/src/pages/settings/Security/SecuritySettingsPage.tsx +++ b/src/pages/settings/Security/SecuritySettingsPage.tsx @@ -166,7 +166,7 @@ function SecuritySettingsPage() { title: personalDetail?.displayName ?? formattedEmail, description: personalDetail?.displayName ? formattedEmail : '', badgeText: translate('delegate.role', {role}), - avatarID: personalDetail?.accountID ?? -1, + avatarID: personalDetail?.accountID ?? CONST.DEFAULT_NUMBER_ID, icon: personalDetail?.avatar ?? FallbackAvatar, iconType: CONST.ICON_TYPE_AVATAR, numberOfLinesDescription: 1, @@ -195,7 +195,7 @@ function SecuritySettingsPage() { title: personalDetail?.displayName ?? formattedEmail, description: personalDetail?.displayName ? formattedEmail : '', badgeText: translate('delegate.role', {role}), - avatarID: personalDetail?.accountID ?? -1, + avatarID: personalDetail?.accountID ?? CONST.DEFAULT_NUMBER_ID, icon: personalDetail?.avatar ?? FallbackAvatar, iconType: CONST.ICON_TYPE_AVATAR, numberOfLinesDescription: 1,