Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Oct 14, 2024
1 parent b655fed commit bd4a75b
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 418 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
168 changes: 0 additions & 168 deletions projects/plugins/protect/src/js/hooks/use-protect-data/index.js

This file was deleted.

Loading

0 comments on commit bd4a75b

Please sign in to comment.