From f3a8efbacf185638cacea0693824d9de894c89b3 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Wed, 11 Feb 2026 18:18:13 +0100
Subject: refactor: Remove unused logging and streamline stop data handling in
 map and processor components

---
 src/frontend/app/components/map/StopSummarySheet.tsx | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

(limited to 'src/frontend/app/components/map/StopSummarySheet.tsx')

diff --git a/src/frontend/app/components/map/StopSummarySheet.tsx b/src/frontend/app/components/map/StopSummarySheet.tsx
index 7024f41..7b4dd7b 100644
--- a/src/frontend/app/components/map/StopSummarySheet.tsx
+++ b/src/frontend/app/components/map/StopSummarySheet.tsx
@@ -18,11 +18,6 @@ export interface StopSheetProps {
     stopCode?: string;
     stopFeed?: string;
     name: string;
-    lines: {
-      line: string;
-      colour?: string;
-      textColour?: string;
-    }[];
   };
 }
 
@@ -57,10 +52,10 @@ export const StopSummarySheet: React.FC<StopSheetProps> = ({
             </div>
 
             <div className={`flex flex-wrap flex-row gap-2`}>
-              {stop.lines.map((lineObj) => (
+              {data?.routes.map((lineObj) => (
                 <LineIcon
-                  key={lineObj.line}
-                  line={lineObj.line}
+                  key={lineObj.shortName}
+                  line={lineObj.shortName}
                   mode="pill"
                   colour={lineObj.colour}
                   textColour={lineObj.textColour}
-- 
cgit v1.3

