mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove react-select as dependency.
This commit is contained in:
parent
58e3042a3b
commit
da2527ddb4
@ -62,7 +62,6 @@
|
||||
"react-hyperscript": "^2.2.2",
|
||||
"react-markdown": "^2.3.0",
|
||||
"react-redux": "^4.4.5",
|
||||
"react-select": "^1.0.0-beta14",
|
||||
"react-tooltip-component": "^0.3.0",
|
||||
"readable-stream": "^2.1.2",
|
||||
"redux": "^3.0.5",
|
||||
|
@ -4,8 +4,6 @@ const h = require('react-hyperscript')
|
||||
const connect = require('react-redux').connect
|
||||
const actions = require('./actions')
|
||||
const currencies = require('./conversion-util').availableCurrencies.rows
|
||||
const Select = require('react-select')
|
||||
|
||||
module.exports = connect(mapStateToProps)(ConfigScreen)
|
||||
|
||||
function mapStateToProps (state) {
|
||||
@ -116,11 +114,6 @@ function currentConversionInformation (metamaskState, state) {
|
||||
}, currencies.map((currency) => {
|
||||
return h('option', {key: currency.code, value: currency.code}, `${currency.code} - ${currency.name}`)
|
||||
})
|
||||
// [
|
||||
// h('option', {key: 'USD', value: 'USD'}, 'USD'),
|
||||
// h('option', {key: 'EUR', value: 'EUR'}, 'EUR'),
|
||||
// h('option', {key: 'JPY', value: 'JPY'}, 'JPY'),
|
||||
// ]
|
||||
),
|
||||
])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user