diff --git a/packages/block-library/src/image/image-editing/use-transform-image.js b/packages/block-library/src/image/image-editing/use-transform-image.js index 6038c05470a945..5411547cdda0df 100644 --- a/packages/block-library/src/image/image-editing/use-transform-image.js +++ b/packages/block-library/src/image/image-editing/use-transform-image.js @@ -42,7 +42,7 @@ export default function useTransformImage( { const [ position, setPosition ] = useState( { x: 0, y: 0 } ); const [ zoom, setZoom ] = useState( 100 ); const [ rotation, setRotation ] = useState( 0 ); - const [ aspect, defaultAspect, setAspect ] = useLazyAspectRatio( + const [ defaultAspect, aspect, setAspect ] = useLazyAspectRatio( width, height );