From a3da8c6c6d1f287ab00b78a67ec8d4180aa4265f Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Fri, 22 Sep 2023 13:59:34 +1000 Subject: [PATCH] Remove unused dependencies --- packages/block-editor/src/hooks/layout.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/hooks/layout.js b/packages/block-editor/src/hooks/layout.js index 5fbc33ea0007d..dce8f5821450e 100644 --- a/packages/block-editor/src/hooks/layout.js +++ b/packages/block-editor/src/hooks/layout.js @@ -24,7 +24,7 @@ import { } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; -import { useEffect, useContext, createPortal } from '@wordpress/element'; +import { useEffect } from '@wordpress/element'; import { arrowRight, arrowDown, @@ -42,9 +42,8 @@ import { import { store as blockEditorStore } from '../store'; import { InspectorControls } from '../components'; import useSetting from '../components/use-setting'; -import { LayoutStyle, useLayout } from '../components/block-list/layout'; -import BlockList from '../components/block-list'; -import { getLayoutType, getLayoutTypes } from '../layouts'; +import { useLayout } from '../components/block-list/layout'; +import { getLayoutType } from '../layouts'; import { useBlockEditingMode } from '../components/block-editing-mode'; import { LAYOUT_DEFINITIONS } from '../layouts/definitions'; import { kebabCase } from '../utils/object';