Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
girish-lokapure committed Mar 5, 2024
1 parent fe18103 commit 16882aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/OnboardingSPA/components/StateHandlers/Flow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
Expand Down

0 comments on commit 16882aa

Please sign in to comment.