Skip to content

Commit

Permalink
Inserter: Remove block default icon from no results message (WordPres…
Browse files Browse the repository at this point in the history
…s#68693)

Co-authored-by: SainathPoojary <sainathpoojary@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
  • Loading branch information
3 people authored Feb 3, 2025
1 parent c9b2569 commit 36690dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Icon, blockDefault } from '@wordpress/icons';
import { Tip, ExternalLink } from '@wordpress/components';

function DownloadableBlocksNoResults() {
return (
<>
<div className="block-editor-inserter__no-results">
<Icon
className="block-editor-inserter__no-results-icon"
icon={ blockDefault }
/>
<p>{ __( 'No results found.' ) }</p>
</div>
<div className="block-editor-inserter__tips">
Expand Down
5 changes: 0 additions & 5 deletions packages/block-editor/src/components/inserter/no-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Icon, blockDefault } from '@wordpress/icons';

function InserterNoResults() {
return (
<div className="block-editor-inserter__no-results">
<Icon
className="block-editor-inserter__no-results-icon"
icon={ blockDefault }
/>
<p>{ __( 'No results found.' ) }</p>
</div>
);
Expand Down

0 comments on commit 36690dc

Please sign in to comment.