From a8f62e2357d19fa53fd21ebe7a66fa7fdec3a291 Mon Sep 17 00:00:00 2001 From: openhands Date: Sun, 22 Feb 2026 23:01:42 +0000 Subject: [PATCH] fix: start freshness ticker after first data load (#172) --- landing/src/components/LiveStats.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);