Skip to content

Commit

Permalink
Site Logo: Remove "Reset" button icon (#35434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Oct 8, 2021
1 parent 36a42f6 commit 724da47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/block-library/src/site-logo/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
} from '@wordpress/block-editor';
import { useSelect, useDispatch } from '@wordpress/data';
import { store as coreStore } from '@wordpress/core-data';
import { crop, reset, siteLogo as icon } from '@wordpress/icons';
import { crop, siteLogo as icon } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -399,9 +399,7 @@ export default function LogoEdit( {
onSelect={ onSelectLogo }
onError={ onUploadError }
>
<MenuItem icon={ reset } onClick={ onRemoveLogo }>
{ __( 'Reset' ) }
</MenuItem>
<MenuItem onClick={ onRemoveLogo }>{ __( 'Reset' ) }</MenuItem>
</MediaReplaceFlow>
</BlockControls>
);
Expand Down

0 comments on commit 724da47

Please sign in to comment.