Skip to content

Commit

Permalink
Rename component
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Sep 4, 2023
1 parent d1f6561 commit 10ab5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/hooks/auto-inserting-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { store as blockEditorStore } from '../store';

const EMPTY_OBJECT = {};

function AutoInsertingBlocksControl( props ) {
function BlocksHooksControl( props ) {
const blockTypes = useSelect(
( select ) => select( blocksStore ).getBlockTypes(),
[]
Expand Down Expand Up @@ -254,7 +254,7 @@ export const withAutoInsertingBlocks = createHigherOrderComponent(
return (
<>
{ blockEdit }
<AutoInsertingBlocksControl
<BlocksHooksControl
blockName={ props.name }
clientId={ props.clientId }
/>
Expand Down

0 comments on commit 10ab5c2

Please sign in to comment.