Skip to content

Commit

Permalink
Inserter: Remove block default icon from no results message (#68693)
Browse files Browse the repository at this point in the history
Co-authored-by: SainathPoojary <[email protected]>
Co-authored-by: afercia <[email protected]>
  • 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

1 comment on commit 36690dc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 36690dc.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/13106650885
📝 Reported issues:

Please sign in to comment.