Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
thebinij committed May 23, 2023
1 parent a20083e commit fec33d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ui/components/ui/site-icon/site-icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ import IconWithFallback from '../icon-with-fallback';
* Please update your code to use the new <AvatarFavicon> component instead, which can be found at ./ui/components/component-library/avatar-favicon.js.
* You can find documentation for the new AvatarFavicon component in the MetaMask Storybook:
* {@link https://metamask.github.io/metamask-storybook/?path=/story/components-componentlibrary-avatarfavicon--default-story}
* If you would like to help with the replacement of the old SiteIcon component, please submit a pull request against this GitHub issue:
* {@link https://github.com/MetaMask/metamask-extension/issues/{NEW_ID}}
* Help to replace `SiteIcon` with `AvatarFavicon` by submitting a PR
* @param options
* @param options.icon
* @param options.name
* @param options.size
* @param options.className
*/
export default function SiteIcon({ icon = null, name = '', size, className }) {
const iconSize = Math.floor(size * 0.75);
Expand Down

0 comments on commit fec33d6

Please sign in to comment.