Remove "Copy Contract Address" from token options

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent 8dc8fd0903
commit 2c5fb11b37
  1. 3
      app/_locales/en/messages.json
  2. 3
      app/_locales/ht/messages.json
  3. 3
      app/_locales/ja/messages.json
  4. 3
      app/_locales/ko/messages.json
  5. 9
      ui/app/components/dropdowns/token-menu-dropdown.js

@ -200,9 +200,6 @@
"copy": {
"message": "Copy"
},
"copyContractAddress": {
"message": "Copy Contract Address"
},
"copyAddress": {
"message": "Copy address to clipboard"
},

@ -185,9 +185,6 @@
"copy": {
"message": "Kopye"
},
"copyContractAddress": {
"message": "Kopi Kontra Adrès"
},
"copyAddress": {
"message": "Kopi adrès clipboard"
},

@ -122,9 +122,6 @@
"copy": {
"message": "コピー"
},
"copyContractAddress": {
"message": "コントラクトアドレスをコピー"
},
"copyToClipboard": {
"message": "クリップボードへコピー"
},

@ -146,9 +146,6 @@
"copy": {
"message": "복사"
},
"copyContractAddress": {
"message": "컨트랙트 주소 복사"
},
"copyToClipboard": {
"message": "클립보드로 복사"
},

@ -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 = {
@ -56,14 +55,6 @@ TokenMenuDropdown.prototype.render = function () {
},
text: this.context.t('hideToken'),
}),
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()

Loading…
Cancel
Save