Skip to content

Commit e020ffe

Browse files
committed
refactor: Align native inserter name with core inserter
1 parent 743ca28 commit e020ffe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/editor-toolbar/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import './style.scss';
2828
import { useModalize } from './use-modalize';
2929
import { useModalDialogState } from '../editor/use-modal-dialog-state';
3030
import { getGBKit } from '../../utils/bridge';
31-
import NativeBlockInserterButton from '../native-block-inserter-button';
31+
import NativeInserter from '../native-inserter';
3232
import { useScrollIndicators } from './use-scroll-indicators';
3333

3434
/**
@@ -98,7 +98,7 @@ const EditorToolbar = ( { className } ) => {
9898
);
9999

100100
const addBlockButton = enableNativeBlockInserter ? (
101-
<NativeBlockInserterButton
101+
<NativeInserter
102102
open={ isInserterOpened }
103103
onToggle={ setIsInserterOpened }
104104
/>

0 commit comments

Comments
 (0)