Skip to content

Commit

Permalink
Jetpack Cloud: make the Jetpack Free card appear on the Pricing page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rcanepa authored Nov 13, 2020
1 parent 910d487 commit 5a9b613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/my-sites/plans-v2/products-grid-i5/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const ProductsGridI5: React.FC< ProductsGridProps > = ( {
) ) }
</ul>
<div className="products-grid-i5__free">
{ ( isInConnectFlow || isInJetpackCloud ) && siteId && (
{ ( isInConnectFlow || isInJetpackCloud ) && (
<JetpackFreeCard siteId={ siteId } urlQueryArgs={ urlQueryArgs } />
) }
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/my-sites/plans-v2/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 5a9b613

Please sign in to comment.