Browse Source

add coin selector icon path fix

v0.25
pbca26 7 years ago
parent
commit
c13a325f85
  1. 6
      react/src/components/addcoin/addcoin.js

6
react/src/components/addcoin/addcoin.js

@ -178,7 +178,7 @@ class AddCoin extends React.Component {
return (
<div>
<img
src={ `/assets/images/cryptologo/${option.icon.toLowerCase()}.png` }
src={ `assets/images/cryptologo/${option.icon.toLowerCase()}.png` }
alt={ option.label }
width="30px"
height="30px" />
@ -194,8 +194,8 @@ class AddCoin extends React.Component {
const coin = e.value.split('|');
const defaultMode = coin[1];
const modeToValue = { // TODO: move to utils
'spv': 0,
'native': -1,
spv: 0,
native: -1,
};
const _value = e.value;
let _coins = this.state.coins;

Loading…
Cancel
Save