From 107295575e3a7c37911ae192baf426b0003975a4 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Mon, 8 Dec 2025 01:37:10 +0100
Subject: Refactor code structure for improved readability and maintainability;
 removed redundant code blocks and optimized functions.

---
 src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx')

diff --git a/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx b/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
index 088f978..ec79f1c 100644
--- a/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
+++ b/src/frontend/app/components/Stops/ConsolidatedCirculationList.tsx
@@ -9,12 +9,14 @@ interface ConsolidatedCirculationListProps {
   data: ConsolidatedCirculation[];
   onCirculationClick?: (estimate: ConsolidatedCirculation, index: number) => void;
   reduced?: boolean;
+  driver?: string;
 }
 
 export const ConsolidatedCirculationList: React.FC<ConsolidatedCirculationListProps> = ({
   data,
   onCirculationClick,
   reduced,
+  driver,
 }) => {
   const { t } = useTranslation();
 
@@ -43,6 +45,7 @@ export const ConsolidatedCirculationList: React.FC<ConsolidatedCirculationListPr
           {sortedData.map((estimate, idx) => (
             <ConsolidatedCirculationCard
               reduced={reduced}
+              driver={driver}
               key={generateKey(estimate)}
               estimate={estimate}
               onMapClick={() => onCirculationClick?.(estimate, idx)}
-- 
cgit v1.3

