mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
app - currency - fix typo
This commit is contained in:
parent
ecbab14cae
commit
79d63332ee
@ -43,7 +43,7 @@ class CurrencyController {
|
|||||||
this.store.updateState({ conversionDate })
|
this.store.updateState({ conversionDate })
|
||||||
}
|
}
|
||||||
|
|
||||||
await updateConversionRate () {
|
async updateConversionRate () {
|
||||||
try {
|
try {
|
||||||
const currentCurrency = this.getCurrentCurrency()
|
const currentCurrency = this.getCurrentCurrency()
|
||||||
const response = await fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`)
|
const response = await fetch(`https://api.infura.io/v1/ticker/eth${currentCurrency.toLowerCase()}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user