From f3012dfa83cc5e45175a0ccd60402c9a2856eb54 Mon Sep 17 00:00:00 2001 From: im3dabasia Date: Mon, 6 Jan 2025 11:32:55 +0530 Subject: [PATCH 1/5] fix: Removed extra tooltips component in button component --- .../spacing-sizes-control/linked-button.js | 18 +++++++-------- .../component.tsx | 23 ++++++++----------- .../src/box-control/linked-button.tsx | 21 ++++++++--------- 3 files changed, 27 insertions(+), 35 deletions(-) diff --git a/packages/block-editor/src/components/spacing-sizes-control/linked-button.js b/packages/block-editor/src/components/spacing-sizes-control/linked-button.js index f6d56be66072ad..413dc88a52e9b9 100644 --- a/packages/block-editor/src/components/spacing-sizes-control/linked-button.js +++ b/packages/block-editor/src/components/spacing-sizes-control/linked-button.js @@ -1,7 +1,7 @@ /** * WordPress dependencies */ -import { Button, Tooltip } from '@wordpress/components'; +import { Button } from '@wordpress/components'; import { link, linkOff } from '@wordpress/icons'; import { __ } from '@wordpress/i18n'; @@ -9,14 +9,12 @@ export default function LinkedButton( { isLinked, ...props } ) { const label = isLinked ? __( 'Unlink sides' ) : __( 'Link sides' ); return ( - -