Skip to content

Commit a0d36e5

Browse files
author
Andrés Blanco
committed
Stop using headstart annotations on sites created through site migration flow
1 parent d9b4f12 commit a0d36e5

File tree

1 file changed

+4
-1
lines changed
  • client/landing/stepper/declarative-flow/internals/steps-repository/create-site

1 file changed

+4
-1
lines changed

client/landing/stepper/declarative-flow/internals/steps-repository/create-site/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ const CreateSite: StepType = function CreateSite( { navigation, flow, data } ) {
141141
const urlQueryParams = useQuery();
142142
const skipMigration = urlQueryParams.get( 'skipMigration' ) || '';
143143
const platform = urlQueryParams.get( 'platform' ) || '';
144-
const useThemeHeadstart = ! isStartWritingFlow( flow ) && ! isNewHostedSiteCreationFlow( flow );
144+
const useThemeHeadstart =
145+
! isStartWritingFlow( flow ) &&
146+
! isNewHostedSiteCreationFlow( flow ) &&
147+
! isNewSiteMigrationFlow( flow );
145148
const shouldGoToCheckout = Boolean( planCartItem );
146149
const [ , isMvpOnboarding ] = useMvpOnboardingExperiment();
147150

0 commit comments

Comments
 (0)