Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix: Inner blocks control position for Cart Block #6973

Merged
merged 6 commits into from Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions assets/js/blocks/cart/edit.js
Expand Up @@ -101,9 +101,7 @@ export const Edit = ( { className, attributes, setAttributes, clientId } ) => {
currentView={ currentView }
previewData={ { previewCart } }
>
<BlockControls __experimentalShareWithChildBlocks>
{ ViewSwitcherComponent }
</BlockControls>
<BlockControls>{ ViewSwitcherComponent }</BlockControls>
<CartBlockContext.Provider
value={ {
hasDarkControls,
Expand Down
1 change: 0 additions & 1 deletion assets/js/blocks/cart/index.js
Expand Up @@ -35,7 +35,6 @@ const settings = {
align: [ 'wide' ],
html: false,
multiple: false,
__experimentalExposeControlsToChildren: true,
},
example: {
attributes: {
Expand Down