mirror of
https://github.com/luxfi/explorer-v1.git
synced 2026-10-30 19:34:59 +00:00
13 lines
443 B
JavaScript
13 lines
443 B
JavaScript
import { formatAllUsdValues, updateAllCalculatedUsdValues } from './lib/currency'
|
|
import { createMarketHistoryChart } from './lib/history_chart'
|
|
|
|
(function () {
|
|
const dashboardChartElement = document.querySelectorAll('[data-chart="historyChart"]')[0]
|
|
if (dashboardChartElement) {
|
|
// @ts-ignore
|
|
window.dashboardChart = createMarketHistoryChart(dashboardChartElement)
|
|
}
|
|
formatAllUsdValues()
|
|
updateAllCalculatedUsdValues()
|
|
})()
|