diff --git a/packages/edit-site/src/components/style-book/index.js b/packages/edit-site/src/components/style-book/index.js index 723953777e2b28..f05acdfdd30080 100644 --- a/packages/edit-site/src/components/style-book/index.js +++ b/packages/edit-site/src/components/style-book/index.js @@ -24,7 +24,6 @@ import { } from '@wordpress/block-editor'; import { privateApis as editorPrivateApis } from '@wordpress/editor'; import { useSelect, dispatch } from '@wordpress/data'; -import { useResizeObserver } from '@wordpress/compose'; import { useMemo, useState, @@ -227,7 +226,6 @@ function StyleBook( { userConfig = {}, path = '', } ) { - const [ resizeObserver, sizes ] = useResizeObserver(); const [ textColor ] = useGlobalStyle( 'color.text' ); const [ backgroundColor ] = useGlobalStyle( 'color.background' ); const colors = useMultiOriginPalettes(); @@ -282,7 +280,6 @@ function StyleBook( { >