From 9500b581636aac081654c43f22396508ec0aa20a Mon Sep 17 00:00:00 2001 From: Kishan Jasani Date: Wed, 2 Sep 2020 12:06:57 +0530 Subject: [PATCH] Fix Console error when trying to open the aspect-ratio tool for images --- packages/block-library/src/image/image-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/image/image-editor.js b/packages/block-library/src/image/image-editor.js index ecd1329cfbf48..194ed83ad53f9 100644 --- a/packages/block-library/src/image/image-editor.js +++ b/packages/block-library/src/image/image-editor.js @@ -45,7 +45,7 @@ function AspectGroup( { aspectRatios, isDisabled, label, onClick, value } ) { { aspectRatios.map( ( { title, aspect } ) => ( { onClick( aspect ); } }