diff --git a/frontend/src/hooks/useGps.ts b/frontend/src/hooks/useGps.ts index 947b7ed..0ddc8ef 100644 --- a/frontend/src/hooks/useGps.ts +++ b/frontend/src/hooks/useGps.ts @@ -74,6 +74,7 @@ export function useGpsDevices() { const { data } = await api.get('/gps/devices'); return data; }, + refetchInterval: 30000, // Refresh every 30 seconds to update lastActive }); }