Skip to content

Commit

Permalink
try to fix failing jest
Browse files Browse the repository at this point in the history
  • Loading branch information
allgandalf committed Dec 27, 2024
1 parent 003b1b4 commit 0196179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function BaseOnboardingWorkEmail({shouldUseNativeStyles, route}: BaseOnboardingW
ErrorUtils.addErrorMessage(errors, INPUT_IDS.ONBOARDING_WORK_EMAIL, 'Please enter a valid work email from a private domain e.g. [email protected]');
}

if (isOffline) {
if (isOffline ?? false) {
ErrorUtils.addErrorMessage(errors, INPUT_IDS.ONBOARDING_WORK_EMAIL, "We couldn't add your work email as you appear to be offline");
}

Expand Down

0 comments on commit 0196179

Please sign in to comment.