From 856621fe06b1916746b4429658ca9e46b042aee3 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 27 Oct 2023 22:16:23 +0800 Subject: [PATCH] Remove a redundant refresh on load as it prevented users from overriding their location --- src/routes/Home/Home.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/Home/Home.tsx b/src/routes/Home/Home.tsx index 1cbcdc2..bf65cfd 100644 --- a/src/routes/Home/Home.tsx +++ b/src/routes/Home/Home.tsx @@ -97,7 +97,6 @@ export default function Home() { } // Refresh every 10 seconds - requestLocation(); useEffect(() => { const interval = setInterval(() => { requestLocation();