forked from cerc-io/cosmos-explorer
fix type
This commit is contained in:
parent
9e339be48c
commit
7574376593
@ -92,7 +92,7 @@ export default {
|
||||
const keys = Object.keys(coingecko)
|
||||
if (keys.length > 0) {
|
||||
const currencies = 'usd,cny,eur,jpy,krw,sgd,hkd'
|
||||
fetch(`https://api.coingecko.com/api/v3/simple/price?vs_currencies=${currencies}&ids=${keys.join(',')}`).then(data => data.json()).then(data => {
|
||||
fetch(`https://api.coingecko.com/api/v3/simple/price?include_24hr_change=true&vs_currencies=${currencies}&ids=${keys.join(',')}`).then(data => data.json()).then(data => {
|
||||
// use symbol as key instead of coingecko id
|
||||
const quotes = {}
|
||||
Object.keys(data).forEach(k => {
|
||||
|
@ -424,7 +424,6 @@ import FeatherIcon from '@/@core/components/feather-icon/FeatherIcon.vue'
|
||||
import ToastificationContent from '@core/components/toastification/ToastificationContent.vue'
|
||||
import Ripple from 'vue-ripple-directive'
|
||||
import VueQr from 'vue-qr'
|
||||
import chainAPI from '@/libs/fetch'
|
||||
import {
|
||||
formatToken, formatTokenAmount, formatTokenDenom, getStakingValidatorOperator, percent, tokenFormatter, toDay,
|
||||
toDuration, abbrMessage, abbrAddress, getUserCurrency, getUserCurrencySign, numberWithCommas, toETHAddress,
|
||||
|
@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<div class="text-center">
|
||||
<b-card
|
||||
v-if="calculateTotalChange !== 0"
|
||||
border-variant="primary"
|
||||
>
|
||||
<b-row class="mx-0 d-flex align-items-center">
|
||||
|
Loading…
Reference in New Issue
Block a user