1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

removed mmi fencing from copy icon in header (#19087)

* removed mmi fencing from copy icon

* updated snapshot
This commit is contained in:
Nidhi Kumari 2023-05-10 19:11:03 +05:30 committed by Dan J Miller
parent 8e3b705fc1
commit 6a7688b0d3
2 changed files with 2 additions and 19 deletions

View File

@ -29,14 +29,6 @@ exports[`SelectedAccount Component should match snapshot 1`] = `
class="selected-account__address"
>
0x0DC...E7bc
<div
class="selected-account__copy"
>
<span
class="box mm-icon mm-icon--size-md box--display-inline-block box--flex-direction-row box--color-icon-alternative"
style="mask-image: url('./images/icons/undefined.svg');"
/>
</div>
<div
class="selected-account__copy"
>

View File

@ -120,22 +120,13 @@ class SelectedAccount extends Component {
<div className="selected-account__copy">
<Icon
name={
this.state.copied ? IconName.COPY_SUCCESS : IconName.COPY
this.state.copied ? IconName.CopySuccess : IconName.Copy
}
size={IconSize.SM}
size={IconSize.Sm}
color={IconColor.iconAlternative}
/>
</div>
)}
<div className="selected-account__copy">
<Icon
name={
this.state.copied ? IconName.CopySuccess : IconName.Copy
}
size={IconSize.Sm}
color={IconColor.iconAlternative}
/>
</div>
</div>
</button>
</Tooltip>