mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix the property query for new currencies.
This commit is contained in:
parent
899a12cb2a
commit
51cebcc173
@ -3,8 +3,8 @@ const Component = require('react').Component
|
|||||||
const h = require('react-hyperscript')
|
const h = require('react-hyperscript')
|
||||||
const connect = require('react-redux').connect
|
const connect = require('react-redux').connect
|
||||||
const actions = require('./actions')
|
const actions = require('./actions')
|
||||||
const infuraCurrencies = require('./infura-conversion.json').sort((a, b) => {
|
const infuraCurrencies = require('./infura-conversion.json').objects.sort((a, b) => {
|
||||||
return a.name.toLocaleLowerCase().localeCompare(b.name.toLocaleLowerCase())
|
return a.quote.name.toLocaleLowerCase().localeCompare(b.quote.name.toLocaleLowerCase())
|
||||||
})
|
})
|
||||||
const validUrl = require('valid-url')
|
const validUrl = require('valid-url')
|
||||||
const exportAsFile = require('./util').exportAsFile
|
const exportAsFile = require('./util').exportAsFile
|
||||||
|
Loading…
Reference in New Issue
Block a user