From 952985e5a2ba390f4ceacc7a8cb3d29cfb062777 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Fri, 20 Jan 2023 14:47:19 +0800 Subject: [PATCH] Replace button group with div --- .../src/components/link-control/index.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/block-editor/src/components/link-control/index.js b/packages/block-editor/src/components/link-control/index.js index 7ffa6b327029a6..1f54ac4e196a64 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -6,13 +6,7 @@ import classnames from 'classnames'; /** * WordPress dependencies */ -import { - Button, - ButtonGroup, - Spinner, - Notice, - TextControl, -} from '@wordpress/components'; +import { Button, Spinner, Notice, TextControl } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { useRef, useState, useEffect } from '@wordpress/element'; import { focus } from '@wordpress/dom'; @@ -341,7 +335,7 @@ function LinkControl( { { errorMessage } ) } - +
- +
) }