Remove a redundant refresh on load as it prevented users from overriding their location

This commit is contained in:
Keannu Bernasol 2023-10-27 22:16:23 +08:00
parent 8a32d2b32c
commit 856621fe06

View file

@ -97,7 +97,6 @@ export default function Home() {
}
// Refresh every 10 seconds
requestLocation();
useEffect(() => {
const interval = setInterval(() => {
requestLocation();