Skip to content

Commit

Permalink
Merge pull request #53477 from Expensify/cm-improve-onboarding-comment
Browse files Browse the repository at this point in the history
[NO QA] Improve confusing comment about onboarding for OD accounts
  • Loading branch information
thienlnam authored Dec 3, 2024
2 parents a1e84ea + 8fad171 commit b255293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/onboardingSelectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {isEmptyObject} from '@src/types/utils/EmptyObject';
* `false` means the user has not completed the NewDot onboarding flow
*/
function hasCompletedGuidedSetupFlowSelector(onboarding: OnyxValue<typeof ONYXKEYS.NVP_ONBOARDING>): boolean | undefined {
// Onboarding is an array or an empty object for old accounts and accounts created from OldDot
// Onboarding is an empty object for old accounts and accounts migrated from OldDot
if (Array.isArray(onboarding) || isEmptyObject(onboarding)) {
return true;
}
Expand Down

0 comments on commit b255293

Please sign in to comment.