diff --git a/editor/components/inserter/results-portal.js b/editor/components/inserter/results-portal.js
index e42a75536faf4..80ef0ddcea508 100644
--- a/editor/components/inserter/results-portal.js
+++ b/editor/components/inserter/results-portal.js
@@ -6,7 +6,7 @@ import { createSlotFill, PanelBody } from '@wordpress/components';
/**
* Internal dependencies
*/
-import ItemList from './item-list';
+import BlockTypesList from '../block-types-list';
import { searchItems } from './menu';
const { Fill, Slot } = createSlotFill( 'InserterResultsPortal' );
@@ -25,7 +25,7 @@ const InserterResultsPortal = ( { items, title, onSelect, onHover } ) => {
a\u00A0<\/p>\s*/ );
// Open the media modal again by inserting inline image
- insertBlock( 'Inline Image' );
+ await insertBlock( 'Inline Image' );
// Confirm deletion.
page.on( 'dialog', async ( dialog ) => {