diff --git a/explorer/src/pages/index.tsx b/explorer/src/pages/index.tsx index 07e93319..d57f9c3f 100644 --- a/explorer/src/pages/index.tsx +++ b/explorer/src/pages/index.tsx @@ -112,7 +112,8 @@ const IndexPage = ({ location }: PageProps) => { } useEffect(() => { - statsInterval = setInterval(fetchStats, 30000) + fetchStats() // fetchStats on first load + statsInterval = setInterval(fetchStats, 30000) // fetch every 30 seconds gsap.registerPlugin(ScrollTrigger);