Skip to content

Commit

Permalink
Import usePlansFromTypes from @automattic/plans-grid-next
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyip committed Dec 7, 2024
1 parent 0b628c2 commit 82f95b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ import {
UrlFriendlyTermType,
} from '@automattic/calypso-products';
import { AddOns, Plans } from '@automattic/data-stores';
import { HiddenPlans, PlansIntent, usePlanTypesWithIntent } from '@automattic/plans-grid-next';
import usePlansFromTypes from '@automattic/plans-grid-next/src/hooks/data-store/use-plans-from-types';
import {
HiddenPlans,
PlansIntent,
usePlansFromTypes,
usePlanTypesWithIntent,
} from '@automattic/plans-grid-next';
import useLongerPlanTermDefaultExperiment from './experiments/use-longer-plan-term-default-experiment';
import useCheckPlanAvailabilityForPurchase from './use-check-plan-availability-for-purchase';

Expand Down
2 changes: 2 additions & 0 deletions packages/plans-grid-next/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import useGridPlansForComparisonGrid from './hooks/data-store/use-grid-plans-for
import useGridPlansForFeaturesGrid from './hooks/data-store/use-grid-plans-for-features-grid';
import usePlanBillingDescription from './hooks/data-store/use-plan-billing-description';
import usePlanFeaturesForGridPlans from './hooks/data-store/use-plan-features-for-grid-plans';
import usePlansFromTypes from './hooks/data-store/use-plans-from-types';
import useRestructuredPlanFeaturesForComparisonGrid from './hooks/data-store/use-restructured-plan-features-for-comparison-grid';
import { useManageTooltipToggle } from './hooks/use-manage-tooltip-toggle';

Expand All @@ -35,6 +36,7 @@ export {
useGridPlanForSpotlight,
usePlanBillingDescription,
usePlanFeaturesForGridPlans,
usePlansFromTypes,
usePlanTypesWithIntent,
useRestructuredPlanFeaturesForComparisonGrid,
};
Expand Down

0 comments on commit 82f95b3

Please sign in to comment.