From 77ac86e8e2a999cb6880e8845a6897428c13bd4a Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Tue, 26 Mar 2024 19:25:48 +0400 Subject: [PATCH] Image: Remove temporary image check for rendering controls --- packages/block-library/src/image/image.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index 4d8e2b693f473..049110e40bc5e 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -934,9 +934,7 @@ export default function Image( { return ( <> - { /* Hide controls during upload to avoid component remount, - which causes duplicated image upload. */ } - { ! temporaryURL && controls } + { controls } { img }