diff --git a/landing/src/components/LiveStats.vue b/landing/src/components/LiveStats.vue index e46bab9..2fc2173 100644 --- a/landing/src/components/LiveStats.vue +++ b/landing/src/components/LiveStats.vue @@ -509,8 +509,8 @@ async function fetchStats() { } } -onMounted(() => { - fetchStats(); +onMounted(async () => { + await fetchStats(); fetchEthPrice(); refreshInterval = window.setInterval(fetchStats, 30000); // Refresh every 30 seconds ethPriceInterval = window.setInterval(fetchEthPrice, ETH_PRICE_CACHE_MS);