Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't try to unlock what's already unlocked, just turn the handle.
  • Loading branch information
talldan committed Apr 2, 2024
commit 4b2a74af389c9798818ce618996561a05a4c82c7
3 changes: 1 addition & 2 deletions packages/patterns/src/components/content-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ const { BlockQuickNavigation } = unlock( blockEditorPrivateApis );

export default function ContentPanel() {
const allClientIds = useSelect(
( select ) =>
unlock( select( blockEditorStore ) ).getClientIdsWithDescendants(),
( select ) => select( blockEditorStore ).getClientIdsWithDescendants(),
[]
);
const { getBlock } = useSelect( blockEditorStore );
Expand Down