From c34e8a20a35940b035b987d18e9797211fd3526e Mon Sep 17 00:00:00 2001 From: bartektomczyk Date: Fri, 5 Apr 2024 16:31:47 +0200 Subject: [PATCH] feat: call method --- src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx b/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx index ae43f850018b..bd8a7ab40917 100644 --- a/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx +++ b/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx @@ -80,7 +80,14 @@ function BaseOnboardingPurpose({shouldUseNativeStyles, shouldEnableMaxHeight, on return; } - Report.completeEngagementModal(CONST.ONBOARDING_CONCIERGE[selectedPurpose], selectedPurpose); + // Report.completeEngagementModal(CONST.ONBOARDING_CONCIERGE[selectedPurpose], selectedPurpose); + Report.completeOnboarding({ + data: CONST.ONBOARDING_MESSAGES[selectedPurpose], + engagementChoice: selectedPurpose, + targetEmail: CONST.EMAIL.CONCIERGE, + firstName: 'Test', + lastName: 'Testovsky', + }); Navigation.dismissModal(); // Only navigate to concierge chat when central pane is visible