diff --git a/src/OnboardingSPA/components/StateHandlers/Design/index.js b/src/OnboardingSPA/components/StateHandlers/Design/index.js index 09849556c..58edd5683 100644 --- a/src/OnboardingSPA/components/StateHandlers/Design/index.js +++ b/src/OnboardingSPA/components/StateHandlers/Design/index.js @@ -106,6 +106,13 @@ const DesignStateHandler = ( { window.location.reload(); } break; + case THEME_STATUS_NOT_ACTIVE: + if ( false === render ) { + // When render is false add this condition because + // handleRender() func does not run here and theme is not activated. + expediteInstall(); + } + break; default: updateThemeStatus( themeStatus ); } diff --git a/src/OnboardingSPA/steps/SiteGen/Preview/index.js b/src/OnboardingSPA/steps/SiteGen/Preview/index.js index d95c54be4..02829dc0f 100644 --- a/src/OnboardingSPA/steps/SiteGen/Preview/index.js +++ b/src/OnboardingSPA/steps/SiteGen/Preview/index.js @@ -307,7 +307,7 @@ const SiteGenPreview = () => { const content = getContents(); return ( - +