Move CartLineItemsTable from the Cart block directory to base-components (https://github.com/woocommerce/woocommerce-blocks/pull/8644)
This commit is contained in:
parent
086cca602a
commit
6d821202ee
|
@ -1,4 +1,5 @@
|
|||
export * from './address-form';
|
||||
export { default as CartLineItemsTable } from './cart-line-items-table';
|
||||
export { default as FormStep } from './form-step';
|
||||
export { default as OrderSummary } from './order-summary';
|
||||
export { default as PlaceOrderButton } from './place-order-button';
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
* External dependencies
|
||||
*/
|
||||
import { useStoreCart } from '@woocommerce/base-context/hooks';
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import CartLineItemsTable from '../../cart-line-items-table';
|
||||
import { CartLineItemsTable } from '@woocommerce/base-components/cart-checkout';
|
||||
|
||||
const Block = ( { className }: { className: string } ): JSX.Element => {
|
||||
const { cartItems, cartIsLoading } = useStoreCart();
|
||||
|
|
|
@ -2,13 +2,9 @@
|
|||
* External dependencies
|
||||
*/
|
||||
import { useStoreCart } from '@woocommerce/base-context/hooks';
|
||||
import { CartLineItemsTable } from '@woocommerce/base-components/cart-checkout';
|
||||
import classNames from 'classnames';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import CartLineItemsTable from '../../../../cart/cart-line-items-table';
|
||||
|
||||
type MiniCartContentsBlockProps = {
|
||||
className: string;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue