From 593eeb33909fff624a1b69c05a77200f7ca1a1c7 Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 6 Nov 2023 08:25:39 -0500 Subject: [PATCH] switch to 5s update --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 351202c2..0fc72162 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -28,7 +28,7 @@ export default function Home() { const intervalId = setInterval(() => { dispatch(fetchBalances()); dispatch(fetchAccountHistory()); - }, 1000); // Dispatch every 1000 milliseconds (1 second) + }, 5000); // Dispatch every 5000 milliseconds (5 second) return () => clearInterval(intervalId); // Cleanup interval on component unmount }, [dispatch]);