Skip to content

Commit

Permalink
Use info icon as per designers direction
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Sep 23, 2021
1 parent 2237332 commit be3f275
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
__experimentalText as Text,
} from '@wordpress/components';
import { filterURLForDisplay, safeDecodeURI } from '@wordpress/url';
import { Icon, globe, warning } from '@wordpress/icons';
import { Icon, globe, info } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -46,7 +46,7 @@ export default function LinkPreview( {
if ( richData?.icon ) {
icon = <img src={ richData?.icon } alt="" />;
} else if ( isEmptyURL ) {
icon = <Icon icon={ warning } size={ 32 } />;
icon = <Icon icon={ info } size={ 32 } />;
} else {
icon = <Icon icon={ globe } />;
}
Expand Down

0 comments on commit be3f275

Please sign in to comment.