Put back urls

pull/108/merge
Vladimir Volek 6 years ago committed by Szymon Lesisz
parent fdfd368bac
commit 8d9d459553

@ -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',
},
];

@ -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 => (
<a key={this.getCoinUrl(coin.id)} href={this.getCoinUrl(coin.id)}>
<a key={this.getCoinUrl(coin.id)} href={coin.url}>
<RowCoin
coin={{
name: coin.coinName,

Loading…
Cancel
Save