diff --git a/src/OnboardingSPA/components/Header/components/SiteGenHeader/index.js b/src/OnboardingSPA/components/Header/components/SiteGenHeader/index.js index 2f0027111..db3390a10 100644 --- a/src/OnboardingSPA/components/Header/components/SiteGenHeader/index.js +++ b/src/OnboardingSPA/components/Header/components/SiteGenHeader/index.js @@ -34,7 +34,7 @@ const SiteGenHeader = () => { ); const currentStepIndex = findIndex( allSteps, { - path: currentStep.path, + path: currentStep?.path, } ); const progress = ( currentStepIndex / allSteps.length ) * 100;