From 38a37dd77a4c79805875b82c904ab206de615418 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 10 Sep 2024 15:59:08 +0200 Subject: [PATCH] Remove value truncation after PR 64053. --- packages/editor/src/components/post-url/panel.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/editor/src/components/post-url/panel.js b/packages/editor/src/components/post-url/panel.js index a824f3d92d24e4..a5d3ddeb77f846 100644 --- a/packages/editor/src/components/post-url/panel.js +++ b/packages/editor/src/components/post-url/panel.js @@ -3,12 +3,7 @@ */ import { useMemo, useState } from '@wordpress/element'; import { useSelect } from '@wordpress/data'; -import { - Dropdown, - Button, - ExternalLink, - __experimentalTruncate as Truncate, -} from '@wordpress/components'; +import { Dropdown, Button, ExternalLink } from '@wordpress/components'; import { __, sprintf } from '@wordpress/i18n'; import { safeDecodeURIComponent } from '@wordpress/url'; import { store as coreStore } from '@wordpress/core-data'; @@ -102,7 +97,7 @@ function PostURLToggle( { isOpen, onClick } ) { aria-label={ sprintf( __( 'Change link: %s' ), decodedSlug ) } onClick={ onClick } > - { decodedSlug } + <>{ decodedSlug } ); }