Skip to content

Commit

Permalink
Merge pull request #418 from newfold-labs/enhance/plugin-recommendations
Browse files Browse the repository at this point in the history
Add missing `updateInitialize` code for plugin installation.
  • Loading branch information
arunshenoy99 authored Jan 17, 2024
2 parents dfcb460 + 505b1d8 commit 9db0e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OnboardingSPA/steps/SiteGen/Preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const SiteGenPreview = () => {
setHeaderActiveView,
setDrawerActiveView,
setCurrentOnboardingData,
updateInitialize,
} = useDispatch( nfdOnboardingStore );

const { currentData, nextStep } = useSelect( ( select ) => {
Expand All @@ -45,6 +46,7 @@ const SiteGenPreview = () => {
setSidebarActiveView( false );
setHeaderActiveView( HEADER_SITEGEN );
setDrawerActiveView( false );
updateInitialize( true );
}, [ currentData ] );

useEffect( () => {
Expand Down

0 comments on commit 9db0e43

Please sign in to comment.