diff --git a/src/libs/actions/Welcome.ts b/src/libs/actions/Welcome.ts index fc72733b190c..87762bc856ca 100644 --- a/src/libs/actions/Welcome.ts +++ b/src/libs/actions/Welcome.ts @@ -9,7 +9,6 @@ let hasSelectedPurpose: boolean | undefined; let hasProvidedPersonalDetails: boolean | undefined; let isFirstTimeNewExpensifyUser: boolean | undefined; let hasDismissedModal: boolean | undefined; -let hasSelectedChoice: boolean | undefined; let isLoadingReportData = true; type DetermineOnboardingStatusProps = { @@ -89,7 +88,7 @@ function isOnboardingFlowCompleted({onCompleted, onNotCompleted}: HasCompletedOn * - Whether we have loaded all reports the server knows about */ function checkOnReady() { - const hasRequiredOnyxKeysBeenLoaded = [isFirstTimeNewExpensifyUser, hasSelectedChoice, hasDismissedModal].every((value) => value !== undefined); + const hasRequiredOnyxKeysBeenLoaded = [isFirstTimeNewExpensifyUser, hasDismissedModal].every((value) => value !== undefined); if (isLoadingReportData || !hasRequiredOnyxKeysBeenLoaded) { return;