diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-13 10:09:30 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-13 10:09:30 +0100 |
| commit | 56c2e739d95dd7b64a7332e2320579925c1751a9 (patch) | |
| tree | 256127c61846be48b579a2f3e461d3d89feb4adc /src/frontend/app/routes/home.tsx | |
| parent | b3f5bfad9c2d1ac92debb389fd7a774a6cdb5109 (diff) | |
Refactor geolocation settings across components; improve accuracy and timeout configurations
Diffstat (limited to 'src/frontend/app/routes/home.tsx')
| -rw-r--r-- | src/frontend/app/routes/home.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/app/routes/home.tsx b/src/frontend/app/routes/home.tsx index 0229ad5..45d7ddf 100644 --- a/src/frontend/app/routes/home.tsx +++ b/src/frontend/app/routes/home.tsx @@ -47,7 +47,8 @@ export default function StopList() { }, { enableHighAccuracy: false, - maximumAge: 5 * 60 * 1000, + maximumAge: Infinity, + timeout: 10000, } ); }, []); @@ -317,7 +318,7 @@ export default function StopList() { <StopItem key={stop.stopId} stop={stop} - showArrivals={index < 3} + showArrivals={index < 5} /> ))} </ul> |
