mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Added possible fix to allow permissions prompt being shown briefly in homepage
This commit is contained in:
parent
369a00a0b3
commit
f9c3a5c5d4
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ export default function Home() {
|
|||
});
|
||||
|
||||
// Refresh when screen loads
|
||||
requestLocation();
|
||||
useEffect(() => {
|
||||
requestLocation();
|
||||
}, []);
|
||||
|
|
Loading…
Reference in a new issue