From bc291b257a46cbf91bb8ae64f78a65db73c58a08 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 30 Sep 2020 16:02:38 +0300 Subject: [PATCH] Auto refresh: refresh every 5 minutes instead of every 1 minute. --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index cb8f4ba..f2b499a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -158,7 +158,7 @@ export default function App() { } React.useEffect(() => { - const interval = 60 * 1000; + const interval = 5 * 60 * 1000; const id = setInterval(autoRefresh, interval); return () => clearInterval(id); }, []);