From 2c5fb11b374b36638997e1225f397f2dccb2b1e7 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 3 Oct 2018 13:49:03 -0230 Subject: Remove "Copy Contract Address" from token options --- ui/app/components/dropdowns/token-menu-dropdown.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ui/app/components/dropdowns/token-menu-dropdown.js') 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 = { @@ -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() -- cgit