diff --git a/frontend/app/components/hooks/use-emulator.ts b/frontend/app/components/hooks/use-emulator.ts index 3e6120c9..81ae21d3 100644 --- a/frontend/app/components/hooks/use-emulator.ts +++ b/frontend/app/components/hooks/use-emulator.ts @@ -167,7 +167,8 @@ export const useEmulator = () => { if (!ride_id || !currentCoordinate || status !== "MATCHING") return; const abortController = new AbortController(); const timeoutId = setTimeout( - () => void postEnroute(ride_id, currentCoordinate, abortController.signal), + () => + void postEnroute(ride_id, currentCoordinate, abortController.signal), 1000, ); return () => {