From 276e73412abef28c222c52a84334d49f5e414f3c Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Mon, 17 Nov 2025 23:39:08 +0100
Subject: 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>
---
 src/frontend/app/routes/estimates-$id.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/frontend/app/routes/estimates-$id.tsx')

diff --git a/src/frontend/app/routes/estimates-$id.tsx b/src/frontend/app/routes/estimates-$id.tsx
index 4efa797..e4006ef 100644
--- a/src/frontend/app/routes/estimates-$id.tsx
+++ b/src/frontend/app/routes/estimates-$id.tsx
@@ -38,7 +38,7 @@ interface ErrorInfo {
 
 const loadData = async (
   region: RegionId,
-  stopId: string,
+  stopId: string
 ): Promise<Estimate[]> => {
   const regionConfig = getRegionConfig(region);
   const resp = await fetch(`${regionConfig.estimatesEndpoint}?id=${stopId}`, {
@@ -56,7 +56,7 @@ const loadData = async (
 
 const loadTimetableData = async (
   region: RegionId,
-  stopId: string,
+  stopId: string
 ): Promise<ScheduledTable[]> => {
   const regionConfig = getRegionConfig(region);
 
@@ -72,7 +72,7 @@ const loadTimetableData = async (
       headers: {
         Accept: "application/json",
       },
-    },
+    }
   );
 
   if (!resp.ok) {
@@ -201,7 +201,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, loadEstimatesData, loadTimetableDataAsync]);
 
@@ -323,7 +323,7 @@ export default function Estimates() {
               onRetry={loadEstimatesData}
               title={t(
                 "errors.estimates_title",
-                "Error al cargar estimaciones",
+                "Error al cargar estimaciones"
               )}
             />
           ) : data ? (
-- 
cgit v1.3

