Skip to content

Commit

Permalink
Widget Editor: Fix a problem with 'Move to Widget Area' button not wo…
Browse files Browse the repository at this point in the history
…rking (#48233)
  • Loading branch information
t-hamano authored Feb 21, 2023
1 parent 8b8e2ec commit bd8ffc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-widgets/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export const moveBlockToWidgetArea =
async ( { dispatch, select, registry } ) => {
const sourceRootClientId = registry
.select( blockEditorStore )
.getBlockRootClientId( [ clientId ] );
.getBlockRootClientId( clientId );

// Search the top level blocks (widget areas) for the one with the matching
// id attribute. Makes the assumption that all top-level blocks are widget
Expand Down

0 comments on commit bd8ffc1

Please sign in to comment.