From 6842df972a5d47990a554e0e345c5e6afc6e96c4 Mon Sep 17 00:00:00 2001 From: Blazej Kustra Date: Thu, 14 Nov 2024 19:29:46 +0100 Subject: [PATCH] Correct comments --- src/libs/actions/Report.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index cc9d05d5004..ec87dcb16df 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -872,8 +872,8 @@ function openReport( const isInviteOnboardingComplete = introSelected?.isInviteOnboardingComplete ?? false; const isOnboardingCompleted = onboarding?.hasCompletedGuidedSetupFlow ?? false; - // Add guided setup data only when nvp_introSelected is set and guided setup is not completed - // OldDot users will never have introSelected set, so they will not see guided setup + // Prepare guided setup data only when nvp_introSelected is set and onboarding is not completed + // OldDot users will never have nvp_introSelected set, so they will not see guided setup messages if (introSelected && !isOnboardingCompleted && !isInviteOnboardingComplete) { const {choice, inviteType} = introSelected; const isInviteIOUorInvoice = inviteType === CONST.ONBOARDING_INVITE_TYPES.IOU || inviteType === CONST.ONBOARDING_INVITE_TYPES.INVOICE;