fix/8363: Match checkout block Place order button UI with frontend (https://github.com/woocommerce/woocommerce-blocks/pull/9094)

Co-authored-by: Niels Lange <info@nielslange.de>
This commit is contained in:
Dharmesh Patel 2023-04-19 18:39:06 +05:30 committed by GitHub
parent 114dc821ae
commit 4743d4fd93
1 changed files with 22 additions and 17 deletions

View File

@ -93,10 +93,14 @@ export const Edit = ( {
) }
</InspectorControls>
<div className="wc-block-checkout__actions">
<div className="wc-block-checkout__actions_row">
<Noninteractive>
{ showReturnToCart && (
<ReturnToCartButton
link={ getSetting( 'page-' + cartPageId, false ) }
link={ getSetting(
'page-' + cartPageId,
false
) }
/>
) }
</Noninteractive>
@ -112,6 +116,7 @@ export const Edit = ( {
/>
</div>
</div>
</div>
);
};