mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Change the copy to cliboard icon
This commit is contained in:
parent
bd1d67b219
commit
265725c6ed
@ -63,12 +63,16 @@ NewComponent.prototype.render = function() {
|
||||
margin: '0 20px',
|
||||
},
|
||||
}, [
|
||||
h('i.fa.fa-clipboard.fa-md.cursor-pointer.color-orange', {
|
||||
h('img.cursor-pointer.color-orange', {
|
||||
src: 'images/copy.svg',
|
||||
onClick: (event) => {
|
||||
event.stopPropagation()
|
||||
event.preventDefault()
|
||||
copyToClipboard(ethUtil.toChecksumAddress(identity.address))
|
||||
}
|
||||
},
|
||||
style:{
|
||||
margin: '0px 5px',
|
||||
},
|
||||
}),
|
||||
]),
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user