From 8d9d459553e9e5057496e6256cdd54f90ad4eae4 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 4 Oct 2018 14:57:53 +0200 Subject: [PATCH] Put back urls --- src/constants/coins.js | 6 ++++++ .../components/LeftNavigation/components/CoinMenu/index.js | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) 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 => ( - +