Afifchage de l'historique des mouvements de point
This commit is contained in:
@@ -45,7 +45,7 @@ export default function GeolocationProvider({ children }: { children: ReactNode
|
||||
useEffect(() => {
|
||||
if (lastLocationsQuery.isSuccess && lastLocationsQuery.data)
|
||||
setLastPlayerLocations(lastLocationsQuery.data)
|
||||
}, [lastLocationsQuery.status, lastLocationsQuery.dataUpdatedAt])
|
||||
}, [lastLocationsQuery.status, lastLocationsQuery.dataUpdatedAt, auth])
|
||||
|
||||
return <>
|
||||
{children}
|
||||
|
Reference in New Issue
Block a user