From 2b0e5f8234bfe5dfae2449b0422bd4294c388598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 9 Jul 2021 09:21:42 +0200 Subject: [PATCH] Fix typo --- packages/block-editor/src/hooks/duotone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/hooks/duotone.js b/packages/block-editor/src/hooks/duotone.js index 5b6edc9ed124a1..c0de112b020d8d 100644 --- a/packages/block-editor/src/hooks/duotone.js +++ b/packages/block-editor/src/hooks/duotone.js @@ -196,7 +196,7 @@ function addDuotoneAttributes( settings ) { */ const withDuotoneControls = createHigherOrderComponent( ( BlockEdit ) => ( props ) => { - const hasDuotoneSupport = ! hasBlockSupport( + const hasDuotoneSupport = hasBlockSupport( props.name, 'color.__experimentalDuotone' );