diff --git a/src/OnboardingSPA/steps/SiteGen/Preview/index.js b/src/OnboardingSPA/steps/SiteGen/Preview/index.js index fc47d324c..dcf59ea29 100644 --- a/src/OnboardingSPA/steps/SiteGen/Preview/index.js +++ b/src/OnboardingSPA/steps/SiteGen/Preview/index.js @@ -30,6 +30,7 @@ const SiteGenPreview = () => { setHeaderActiveView, setDrawerActiveView, setCurrentOnboardingData, + updateInitialize, } = useDispatch( nfdOnboardingStore ); const { currentData, nextStep } = useSelect( ( select ) => { @@ -45,6 +46,7 @@ const SiteGenPreview = () => { setSidebarActiveView( false ); setHeaderActiveView( HEADER_SITEGEN ); setDrawerActiveView( false ); + updateInitialize( true ); }, [ currentData ] ); useEffect( () => {