Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiceli committed Dec 3, 2024
1 parent 473822d commit 8fad171
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 8fad171

Please sign in to comment.