mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 01:08:27 +00:00
Put back urls
This commit is contained in:
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…
Reference in New Issue
Block a user