Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Oct 16, 2024
1 parent d3be0b5 commit 1fe6562
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 424 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: major
Type: changed

Changed the formatting of threat data.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: major
Type: changed

Changed the formatting of threat data.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { __ } from '@wordpress/i18n';
import React, { useCallback } from 'react';
import { useNavigate } from 'react-router-dom';
import useConnectSiteMutation from '../../data/use-connection-mutation';
import useProductDataQuery from '../../data/use-product-data-query';
import useAnalyticsTracks from '../../hooks/use-analytics-tracks';
import usePlan from '../../hooks/use-plan';
import useProtectData from '../../hooks/use-protect-data';

/**
* Product Detail component.
Expand All @@ -30,7 +30,7 @@ const ConnectedPricingTable = () => {
} );

// Access paid protect product data
const { jetpackScan } = useProtectData();
const { data: jetpackScan } = useProductDataQuery();
const { pricingForUi } = jetpackScan;
const { introductoryOffer, currencyCode: currency = 'USD' } = pricingForUi;

Expand Down
174 changes: 0 additions & 174 deletions projects/plugins/protect/src/js/hooks/use-protect-data/index.ts

This file was deleted.

Loading

0 comments on commit 1fe6562

Please sign in to comment.