ui - buy eth - formatting and moved network names to config

feature/default_network_editable
kumavis 7 years ago
parent 052d338b2b
commit 245125eb18
  1. 5
      app/scripts/config.js
  2. 6
      ui/app/components/buy-button-subview.js

@ -12,4 +12,9 @@ module.exports = {
kovan: KOVAN_RPC_URL,
rinkeby: RINKEBY_RPC_URL,
},
networkNames: {
3: 'Ropsten',
4: 'Rinkeby',
42: 'Kovan',
},
}

@ -8,11 +8,7 @@ const ShapeshiftForm = require('./shapeshift-form')
const Loading = require('./loading')
const AccountPanel = require('./account-panel')
const RadioList = require('./custom-radio-list')
const networkNames = {
3: 'Ropsten',
4: 'Rinkeby',
42: 'Kovan',
}
const networkNames = require('../../../app/scripts/config.js').networkNames
module.exports = connect(mapStateToProps)(BuyButtonSubview)

Loading…
Cancel
Save