diff --git a/src/constants/coins.js b/src/constants/coins.js index 7571f8ab..1c205a8f 100644 --- a/src/constants/coins.js +++ b/src/constants/coins.js @@ -2,25 +2,31 @@ export default [ { id: 'btc', coinName: 'Bitcoin', + url: 'https://wallet.trezor.io/#/coin/btc', }, { id: 'ltc', coinName: 'Litecoin', + url: 'https://wallet.trezor.io/#/coin/ltc', }, { id: 'bch', coinName: 'Bitcoin Cash', + url: 'https://wallet.trezor.io/#/coin/bch', }, { id: 'btg', coinName: 'Bitcoin Gold', + url: 'https://wallet.trezor.io/#/coin/btg', }, { id: 'dash', coinName: 'Dash', + url: 'https://wallet.trezor.io/#/coin/dash', }, { id: 'zec', coinName: 'Zcash', + url: 'https://wallet.trezor.io/#/coin/zec', }, ]; \ No newline at end of file diff --git a/src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js b/src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js index 949d9d77..afe4b992 100644 --- a/src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js +++ b/src/views/Wallet/components/LeftNavigation/components/CoinMenu/index.js @@ -24,10 +24,6 @@ class CoinMenu extends Component { return baseUrl; } - getCoinUrl(coinId) { - return `https://wallet.trezor.io/#/coin/${coinId}`; - } - render() { const { config } = this.props.localStorage; return ( @@ -51,7 +47,7 @@ class CoinMenu extends Component { hasBorder /> {coins.map(coin => ( - +