diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2025-11-17 23:39:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 23:39:08 +0100 |
| commit | 276e73412abef28c222c52a84334d49f5e414f3c (patch) | |
| tree | 8b7ae07eafa53f9efc5884e4f0696e6077266f48 /src/frontend/app/routes/stops-$id.tsx | |
| parent | 36d982fb3b01fd8181b216b57fba2c42e9404d1f (diff) | |
Use consolidated data API in map sheet with shared card component (#100)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com>
Co-authored-by: Ariel Costas Guerrero <ariel@costas.dev>
Diffstat (limited to 'src/frontend/app/routes/stops-$id.tsx')
| -rw-r--r-- | src/frontend/app/routes/stops-$id.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/app/routes/stops-$id.tsx b/src/frontend/app/routes/stops-$id.tsx index 6e669ca..ac41250 100644 --- a/src/frontend/app/routes/stops-$id.tsx +++ b/src/frontend/app/routes/stops-$id.tsx @@ -42,7 +42,7 @@ interface ErrorInfo { const loadConsolidatedData = async ( region: RegionId, - stopId: string, + stopId: string ): Promise<ConsolidatedCirculation[]> => { const regionConfig = getRegionConfig(region); const resp = await fetch( @@ -51,7 +51,7 @@ const loadConsolidatedData = async ( headers: { Accept: "application/json", }, - }, + } ); if (!resp.ok) { @@ -151,7 +151,7 @@ export default function Estimates() { StopDataProvider.pushRecent(region, parseInt(params.id ?? "")); setFavourited( - StopDataProvider.isFavourite(region, parseInt(params.id ?? "")), + StopDataProvider.isFavourite(region, parseInt(params.id ?? "")) ); }, [params.id, region, loadData]); @@ -240,7 +240,7 @@ export default function Estimates() { onRetry={loadData} title={t( "errors.estimates_title", - "Error al cargar estimaciones", + "Error al cargar estimaciones" )} /> ) : data ? ( |
