From e2ae3f4009eea833b0edb7bb64265d2b1cf2e138 Mon Sep 17 00:00:00 2001 From: kmanijak Date: Fri, 17 Feb 2023 15:09:26 +0100 Subject: [PATCH] In editor use the components from @wordpress/components instead of wordpress-components (#8432) --- .../cart/inner-blocks/cart-express-payment-block/edit.tsx | 2 +- .../inner-blocks/checkout-express-payment-block/edit.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/edit.tsx b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/edit.tsx index 7b2710df51a..902162c0daa 100644 --- a/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/edit.tsx +++ b/assets/js/blocks/cart/inner-blocks/cart-express-payment-block/edit.tsx @@ -3,7 +3,7 @@ */ import { __ } from '@wordpress/i18n'; import { useBlockProps } from '@wordpress/block-editor'; -import { Placeholder, Button } from 'wordpress-components'; +import { Placeholder, Button } from '@wordpress/components'; import { useExpressPaymentMethods } from '@woocommerce/base-context/hooks'; import { Icon, payment } from '@wordpress/icons'; import { ADMIN_URL } from '@woocommerce/settings'; diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/edit.tsx b/assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/edit.tsx index 8ad880a6509..79e775ab6a4 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/edit.tsx +++ b/assets/js/blocks/checkout/inner-blocks/checkout-express-payment-block/edit.tsx @@ -3,7 +3,7 @@ */ import { __ } from '@wordpress/i18n'; import { useBlockProps } from '@wordpress/block-editor'; -import { Placeholder, Button } from 'wordpress-components'; +import { Placeholder, Button } from '@wordpress/components'; import { useExpressPaymentMethods } from '@woocommerce/base-context/hooks'; import { Icon, payment } from '@wordpress/icons'; import { ADMIN_URL } from '@woocommerce/settings';