diff --git a/ui/components/app/collectible-details/collectible-details.js b/ui/components/app/collectible-details/collectible-details.js index 87159ee94901..f1d2edf87d21 100644 --- a/ui/components/app/collectible-details/collectible-details.js +++ b/ui/components/app/collectible-details/collectible-details.js @@ -277,9 +277,7 @@ export default function CollectibleDetails({ collectible }) { handleSourceCopy(collectibleImageURL); }} iconName={ - sourceCopied - ? ICON_NAMES.COPY_SUCCESS_FILLED - : ICON_NAMES.COPY_FILLED + sourceCopied ? ICON_NAMES.COPY_SUCCESS : ICON_NAMES.COPY } /> @@ -334,9 +332,7 @@ export default function CollectibleDetails({ collectible }) { handleAddressCopy(address); }} iconName={ - addressCopied - ? ICON_NAMES.COPY_SUCCESS_FILLED - : ICON_NAMES.COPY_FILLED + addressCopied ? ICON_NAMES.COPY_SUCCESS : ICON_NAMES.COPY } /> diff --git a/ui/components/app/flask/snap-delineator/snap-delineator.js b/ui/components/app/flask/snap-delineator/snap-delineator.js index 0a29d2e442e6..908a29d79f4e 100644 --- a/ui/components/app/flask/snap-delineator/snap-delineator.js +++ b/ui/components/app/flask/snap-delineator/snap-delineator.js @@ -31,7 +31,7 @@ export const SnapDelineator = ({ snapName, children }) => { paddingTop={1} paddingBottom={1} > - + } + icon={} /> )} {!isSIWEDomainValid && ( @@ -121,7 +121,7 @@ export default function SignatureRequestSIWE({ iconFillColor="var(--color-error-default)" useIcon withRightButton - icon={} + icon={} /> )} } + startAccessory={} > The info icon on the left is passed through the startAccessory prop ; diff --git a/ui/components/component-library/banner-base/banner-base.js b/ui/components/component-library/banner-base/banner-base.js index 1cc0fab51a21..7141d3650094 100644 --- a/ui/components/component-library/banner-base/banner-base.js +++ b/ui/components/component-library/banner-base/banner-base.js @@ -68,7 +68,7 @@ export const BannerBase = ({ {onClose && ( , + startAccessory: , }; DefaultStory.storyName = 'Default'; @@ -165,5 +165,5 @@ StartAccessory.args = { title: 'Start accessory demo', children: 'The info icon on the left is passed through the startAccessory prop', - startAccessory: , + startAccessory: , }; diff --git a/ui/components/component-library/banner-base/banner-base.test.js b/ui/components/component-library/banner-base/banner-base.test.js index 5e19a10c57ca..61dbbbf4b0bf 100644 --- a/ui/components/component-library/banner-base/banner-base.test.js +++ b/ui/components/component-library/banner-base/banner-base.test.js @@ -72,10 +72,7 @@ describe('BannerBase', () => { const { getByTestId } = render( + } />, ); diff --git a/ui/components/component-library/button-base/button-base.test.js b/ui/components/component-library/button-base/button-base.test.js index 4ba5ac432928..99ca354f94e6 100644 --- a/ui/components/component-library/button-base/button-base.test.js +++ b/ui/components/component-library/button-base/button-base.test.js @@ -100,7 +100,7 @@ describe('ButtonBase', () => { const { getByTestId } = render( , ); diff --git a/ui/components/component-library/button-link/button-link.test.js b/ui/components/component-library/button-link/button-link.test.js index 08cfa8c816bd..2c1b31c5d32f 100644 --- a/ui/components/component-library/button-link/button-link.test.js +++ b/ui/components/component-library/button-link/button-link.test.js @@ -82,7 +82,7 @@ describe('ButtonLink', () => { }); it('should render with icon', () => { const { container } = render( - , + , ); const icons = container.getElementsByClassName('mm-icon').length; diff --git a/ui/components/component-library/button-primary/button-primary.test.js b/ui/components/component-library/button-primary/button-primary.test.js index dbf1e815bea3..500915d916e3 100644 --- a/ui/components/component-library/button-primary/button-primary.test.js +++ b/ui/components/component-library/button-primary/button-primary.test.js @@ -89,7 +89,7 @@ describe('ButtonPrimary', () => { }); it('should render with icon', () => { const { container } = render( - , + , ); const icons = container.getElementsByClassName('mm-icon').length; diff --git a/ui/components/component-library/button-secondary/button-secondary.test.js b/ui/components/component-library/button-secondary/button-secondary.test.js index 79ffca27c688..5549e15737a8 100644 --- a/ui/components/component-library/button-secondary/button-secondary.test.js +++ b/ui/components/component-library/button-secondary/button-secondary.test.js @@ -93,7 +93,7 @@ describe('ButtonSecondary', () => { }); it('should render with icon', () => { const { container } = render( - , + , ); const icons = container.getElementsByClassName('mm-icon').length; diff --git a/ui/components/component-library/button/button.test.js b/ui/components/component-library/button/button.test.js index f63e2bcdaf9a..9cf7460d6209 100644 --- a/ui/components/component-library/button/button.test.js +++ b/ui/components/component-library/button/button.test.js @@ -133,7 +133,7 @@ describe('Button', () => { const { getByTestId } = render(