From 53f8635e681a00781a0fec2ecda79b9d913e0aa5 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Fri, 6 Sep 2024 12:15:36 +0400 Subject: [PATCH] Remove visually hidden element --- .../src/components/button-block-appender/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/block-editor/src/components/button-block-appender/index.js b/packages/block-editor/src/components/button-block-appender/index.js index 1b5907a2f5afa3..c4a6854c6d6cc4 100644 --- a/packages/block-editor/src/components/button-block-appender/index.js +++ b/packages/block-editor/src/components/button-block-appender/index.js @@ -6,7 +6,7 @@ import clsx from 'clsx'; /** * WordPress dependencies */ -import { Button, VisuallyHidden } from '@wordpress/components'; +import { Button } from '@wordpress/components'; import { forwardRef, useRef } from '@wordpress/element'; import { _x, sprintf } from '@wordpress/i18n'; import { Icon, plus } from '@wordpress/icons'; @@ -78,9 +78,6 @@ function ButtonBlockAppender( label={ label } showTooltip > - { ! hasSingleBlockType && ( - { label } - ) } );