From 16882aabd4f7d940ec69f513727e770361a4264f Mon Sep 17 00:00:00 2001 From: "lokapure.girish" Date: Tue, 5 Mar 2024 13:21:25 +0530 Subject: [PATCH] Update index.js --- src/OnboardingSPA/components/StateHandlers/Flow/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OnboardingSPA/components/StateHandlers/Flow/index.js b/src/OnboardingSPA/components/StateHandlers/Flow/index.js index 88b095d70..9ed50cd17 100644 --- a/src/OnboardingSPA/components/StateHandlers/Flow/index.js +++ b/src/OnboardingSPA/components/StateHandlers/Flow/index.js @@ -91,7 +91,9 @@ const FlowStateHandler = () => { const checkCapability = () => { if ( ! validateFlow( brandConfig, SITEGEN_FLOW ) ) { - const getData = resolveGetDataForFlow( DEFAULT_FLOW ); + const getData = resolveGetDataForFlow( + window.nfdOnboarding.currentFlow + ); const data = getData(); const updateAllStep = removeFromAllSteps( data.steps, [