From 505b1d82498a3acbe4cf7f87ca7fa51c10cb5420 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 17 Jan 2024 14:06:40 +0530 Subject: [PATCH] Add missing updateInitialize code for plugin install --- src/OnboardingSPA/steps/SiteGen/Preview/index.js | 2 ++ 1 file changed, 2 insertions(+) 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( () => {