From 7571600e34febb613e28ea0aa63f5f4df8807c01 Mon Sep 17 00:00:00 2001 From: Utsav Patel Date: Fri, 15 Nov 2024 19:27:57 +0530 Subject: [PATCH] Fix: duplicate condition issue --- packages/block-library/src/image/image.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/image/image.js b/packages/block-library/src/image/image.js index 417b2db6a5065..753058bf24501 100644 --- a/packages/block-library/src/image/image.js +++ b/packages/block-library/src/image/image.js @@ -513,7 +513,6 @@ export default function Image( { canEditImage && ! isEditingImage && ! isContentOnlyMode && - ! isContentOnlyMode && hasNonContentControls; function switchToCover() {