diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx index aa93b94e0e9f..270b72b93da8 100755 --- a/src/pages/ProfilePage.tsx +++ b/src/pages/ProfilePage.tsx @@ -91,8 +91,7 @@ function ProfilePage({personalDetails, personalDetailsMetadata, route, session, const login = details?.login ?? ''; const timezone = details?.timezone; const reportRecipient = personalDetails?.[accountID]; - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - const isParticipantValidated = reportRecipient?.validated || false; + const isParticipantValidated = reportRecipient?.validated ?? false; // If we have a reportID param this means that we // arrived here via the ParticipantsPage and should be allowed to navigate back to it