diff --git a/client/signup/config/flows.js b/client/signup/config/flows.js index 94e78d4866368f..f90eb3fedf1065 100644 --- a/client/signup/config/flows.js +++ b/client/signup/config/flows.js @@ -5,6 +5,7 @@ import { BUNDLED_THEME, MARKETPLACE_THEME, isAssemblerSupported, + COMMUNITY_THEME, } from '@automattic/design-picker'; import { isOnboardingGuidedFlow, isSiteAssemblerFlow } from '@automattic/onboarding'; import { isURL } from '@wordpress/url'; @@ -174,12 +175,14 @@ function getWithThemeDestination( { } ) { if ( ! cartItems && - [ DOT_ORG_THEME, PREMIUM_THEME, MARKETPLACE_THEME, BUNDLED_THEME ].includes( themeType ) + [ DOT_ORG_THEME, COMMUNITY_THEME, PREMIUM_THEME, MARKETPLACE_THEME, BUNDLED_THEME ].includes( + themeType + ) ) { return `/setup/site-setup/designSetup?siteSlug=${ siteSlug }`; } - if ( DOT_ORG_THEME === themeType ) { + if ( [ DOT_ORG_THEME, COMMUNITY_THEME ].includes( themeType ) ) { return `/marketplace/theme/${ themeParameter }/install/${ siteSlug }`; }