mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-16 22:09:26 +08:00
Remove a redundant refresh on load as it prevented users from overriding their location
This commit is contained in:
parent
8a32d2b32c
commit
856621fe06
1 changed files with 0 additions and 1 deletions
|
@ -97,7 +97,6 @@ export default function Home() {
|
|||
}
|
||||
|
||||
// Refresh every 10 seconds
|
||||
requestLocation();
|
||||
useEffect(() => {
|
||||
const interval = setInterval(() => {
|
||||
requestLocation();
|
||||
|
|
Loading…
Reference in a new issue