Skip to content

Commit

Permalink
Inserter: Remove block default icon from no results message
Browse files Browse the repository at this point in the history
  • Loading branch information
SainathPoojary committed Jan 15, 2025
1 parent 74986ed commit bb8b0a3
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 bb8b0a3

Please sign in to comment.