This commit is contained in:
Albert Juhé Lluveras 2023-03-08 14:16:22 +01:00 committed by GitHub
parent 4415746d55
commit 3d3f4a5dae
1 changed files with 9 additions and 7 deletions

View File

@ -12,13 +12,6 @@ import {
useStoreEvents,
useStoreCart,
} from '@woocommerce/base-context/hooks';
import {
ProductBackorderBadge,
ProductImage,
ProductLowStockBadge,
ProductMetadata,
ProductSaleBadge,
} from '@woocommerce/base-components/cart-checkout';
import { getCurrencyFromPriceResponse } from '@woocommerce/price-format';
import { applyCheckoutFilter, mustContain } from '@woocommerce/blocks-checkout';
import Dinero from 'dinero.js';
@ -27,6 +20,15 @@ import type { CartItem } from '@woocommerce/types';
import { objectHasProp, Currency } from '@woocommerce/types';
import { getSetting } from '@woocommerce/settings';
/**
* Internal dependencies
*/
import ProductBackorderBadge from '../product-backorder-badge';
import ProductImage from '../product-image';
import ProductLowStockBadge from '../product-low-stock-badge';
import ProductMetadata from '../product-metadata';
import ProductSaleBadge from '../product-sale-badge';
/**
* Convert a Dinero object with precision to store currency minor unit.
*