aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-04 00:19:03 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-04 00:19:03 +0800
commit2c5fb11b374b36638997e1225f397f2dccb2b1e7 (patch)
tree75bf898fb215657ced5628bced22967e5f2fed2d /ui
parent8dc8fd09031e1719f2da4e950a08e677d2752f56 (diff)
downloadtangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar.gz
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar.bz2
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar.lz
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar.xz
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.tar.zst
tangerine-wallet-browser-2c5fb11b374b36638997e1225f397f2dccb2b1e7.zip
Remove "Copy Contract Address" from token options
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/dropdowns/token-menu-dropdown.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/app/components/dropdowns/token-menu-dropdown.js b/ui/app/components/dropdowns/token-menu-dropdown.js
index 5a794c7c1..8a072b1bc 100644
--- a/ui/app/components/dropdowns/token-menu-dropdown.js
+++ b/ui/app/components/dropdowns/token-menu-dropdown.js
@@ -5,7 +5,6 @@ const inherits = require('util').inherits
const connect = require('react-redux').connect
const actions = require('../../actions')
const genAccountLink = require('etherscan-link').createAccountLink
-const copyToClipboard = require('copy-to-clipboard')
const { Menu, Item, CloseArea } = require('./components/menu')
TokenMenuDropdown.contextTypes = {
@@ -59,14 +58,6 @@ TokenMenuDropdown.prototype.render = function () {
h(Item, {
onClick: (e) => {
e.stopPropagation()
- copyToClipboard(this.props.token.address)
- this.props.onClose()
- },
- text: this.context.t('copyContractAddress'),
- }),
- h(Item, {
- onClick: (e) => {
- e.stopPropagation()
const url = genAccountLink(this.props.token.address, this.props.network)
global.platform.openWindow({ url })
this.props.onClose()