mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +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