diff --git a/packages/block-library/src/image/edit.js b/packages/block-library/src/image/edit.js index 16ec296554d74..9780a1121a064 100644 --- a/packages/block-library/src/image/edit.js +++ b/packages/block-library/src/image/edit.js @@ -32,6 +32,7 @@ import { useUploadMediaFromBlobURL } from '../utils/hooks'; import Image from './image'; import { isValidFileType } from './utils'; import { useMaxWidthObserver } from './use-max-width-observer'; +import { useResizeObserver } from '@wordpress/compose'; /** * Module constants