1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +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 GitHub
parent 05fb01802d
commit 46c2f1cc56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>