Retrait de expo-background-fetch, inutilisé

This commit is contained in:
2024-12-14 17:41:59 +01:00
parent 25ca687448
commit 3648454da4
6 changed files with 1 additions and 61 deletions

View File

@ -16,10 +16,7 @@ export default function GeolocationProvider({ children }: { children: ReactNode
const setLastPlayerLocations = useSetLastPlayerLocations()
const geolocationMutation = useGeolocationMutation({
auth,
onPostSuccess: (data) => {
unqueueLocation(data)
geolocationMutation.reset()
},
onPostSuccess: (data) => unqueueLocation(data),
onError: ({ response, error }) => { console.error(response, error) }
})