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

Commit

Permalink
Merge branch 'trunk' into fix/7921-product-query-product-search-resul…
Browse files Browse the repository at this point in the history
…t-preview
  • Loading branch information
gigitux authored Jan 10, 2023
2 parents c729964 + 37ff92c commit 6b7f546
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const withSidebarNotices = createHigherOrderComponent(

// Show sidebar notices only when a WooCommerce block is selected.
if ( ! blockName.startsWith( 'woocommerce/' ) || ! isBlockSelected ) {
return <BlockEdit { ...props } />;
return <BlockEdit key="edit" { ...props } />;
}

const [
Expand Down Expand Up @@ -115,7 +115,7 @@ const withSidebarNotices = createHigherOrderComponent(
</InspectorControls>
) }

<BlockEdit { ...props } />
<BlockEdit key="edit" { ...props } />
</>
);
},
Expand Down

0 comments on commit 6b7f546

Please sign in to comment.