Skip to content

Commit

Permalink
Remove value truncation after PR 64053.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Sep 10, 2024
1 parent 84fe3f6 commit 38a37dd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/editor/src/components/post-url/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -102,7 +97,7 @@ function PostURLToggle( { isOpen, onClick } ) {
aria-label={ sprintf( __( 'Change link: %s' ), decodedSlug ) }
onClick={ onClick }
>
<Truncate numberOfLines={ 1 }>{ decodedSlug }</Truncate>
<>{ decodedSlug }</>
</Button>
);
}
Expand Down

0 comments on commit 38a37dd

Please sign in to comment.