diff --git a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js index a22d189ac9c..b8731ea9247 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js +++ b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/express-payment-methods.js @@ -15,6 +15,7 @@ import { useEditorContext, usePaymentMethodDataContext, } from '@woocommerce/base-context'; +import PaymentMethodErrorBoundary from './payment-method-error-boundary'; const ExpressPaymentMethods = () => { const { isEditor } = useEditorContext(); @@ -59,9 +60,11 @@ const ExpressPaymentMethods = () => {
{ __(
'In a hurry? Use one of our express checkout options below:',
diff --git a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/payment-method-error-boundary.js b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/payment-method-error-boundary.js
index bd6e64ae49a..f599b1b557f 100644
--- a/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/payment-method-error-boundary.js
+++ b/plugins/woocommerce-blocks/assets/js/base/components/payment-methods/payment-method-error-boundary.js
@@ -3,7 +3,7 @@
*/
import { __ } from '@wordpress/i18n';
import { Component } from 'react';
-import { Notice } from 'wordpress-components';
+import { StoreNoticesContainer } from '@woocommerce/base-components/store-notices-container';
import PropTypes from 'prop-types';
import { CURRENT_USER_IS_ADMIN } from '@woocommerce/block-settings';
@@ -36,11 +36,15 @@ class PaymentMethodErrorBoundary extends Component {
);
}
}
- return (
-