From 5a9b61391c09b9508bf0759cb7548468e1510f4b Mon Sep 17 00:00:00 2001 From: Renzo Canepa Date: Fri, 13 Nov 2020 19:09:14 -0300 Subject: [PATCH] Jetpack Cloud: make the Jetpack Free card appear on the Pricing page (#47428) --- client/my-sites/plans-v2/products-grid-i5/index.tsx | 2 +- client/my-sites/plans-v2/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/my-sites/plans-v2/products-grid-i5/index.tsx b/client/my-sites/plans-v2/products-grid-i5/index.tsx index 09d571c7f0f7c..13596bb880c05 100644 --- a/client/my-sites/plans-v2/products-grid-i5/index.tsx +++ b/client/my-sites/plans-v2/products-grid-i5/index.tsx @@ -172,7 +172,7 @@ const ProductsGridI5: React.FC< ProductsGridProps > = ( { ) ) }
- { ( isInConnectFlow || isInJetpackCloud ) && siteId && ( + { ( isInConnectFlow || isInJetpackCloud ) && ( ) }
diff --git a/client/my-sites/plans-v2/types.ts b/client/my-sites/plans-v2/types.ts index a310216329b00..49d67eb1a2290 100644 --- a/client/my-sites/plans-v2/types.ts +++ b/client/my-sites/plans-v2/types.ts @@ -65,7 +65,7 @@ export interface WithRedirectToSelectorProps extends BasePageProps { export interface JetpackFreeProps { urlQueryArgs: QueryArgs; - siteId?: number; + siteId: number | null; } export type SelectorProductSlug = typeof PRODUCTS_WITH_OPTIONS[ number ];