Skip to content

Commit

Permalink
Unlock selector at point of usage
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Feb 1, 2023
1 parent 1d84315 commit 25c2365
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { forwardRef, useEffect, useState } from '@wordpress/element';
/**
* Internal dependencies
*/
import { unlock } from '../../experiments';
import ListViewBlockSelectButton from './block-select-button';
import BlockDraggable from '../block-draggable';
import { store as blockEditorStore } from '../../store';
Expand Down Expand Up @@ -52,7 +53,7 @@ const ListViewBlockContents = forwardRef(
hasBlockMovingClientId,
getSelectedBlockClientId,
getLastInsertedBlocksClientIds,
} = select( blockEditorStore );
} = unlock( select( blockEditorStore ) );
const lastInsertedBlocksClientIds =
getLastInsertedBlocksClientIds();
return {
Expand Down

0 comments on commit 25c2365

Please sign in to comment.