Fix background location

This commit is contained in:
Sebastien Riviere
2026-03-13 01:46:29 +01:00
parent 471e514981
commit 9913549610
6 changed files with 82 additions and 14 deletions

View File

@@ -34,14 +34,12 @@ export const AuthProvider = ({ children }) => {
emitLogout();
}, [loggedIn, setTeamId]);
/*
// Try to log in with saved teamId
useEffect(() => {
if (!loggedIn && teamId) {
login(teamId);
}
}, [loggedIn, teamId, login]);
*/
// Emit battery level and phone model at log in
useEffect(() => {