Added possible fix to allow permissions prompt being shown briefly in homepage

This commit is contained in:
Keannu Bernasol 2023-10-11 19:50:02 +08:00
parent 369a00a0b3
commit f9c3a5c5d4

View file

@ -103,6 +103,7 @@ export default function Home() {
}); });
// Refresh when screen loads // Refresh when screen loads
requestLocation();
useEffect(() => { useEffect(() => {
requestLocation(); requestLocation();
}, []); }, []);