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/routes/stops-$id.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

diff --git a/src/frontend/app/routes/stops-$id.tsx b/src/frontend/app/routes/stops-$id.tsx
index 5260c32..553b8e7 100644
--- a/src/frontend/app/routes/stops-$id.tsx
+++ b/src/frontend/app/routes/stops-$id.tsx
@@ -247,8 +247,8 @@ export default function Estimates() {
                 <div className="flex items-center gap-8">
                   <Star
                     className={`cursor-pointer transition-colors ${favourited
-                        ? "fill-[var(--star-color)] text-[var(--star-color)]"
-                        : "text-slate-500"
+                      ? "fill-[var(--star-color)] text-[var(--star-color)]"
+                      : "text-slate-500"
                       }`}
                     onClick={toggleFavourite}
                   />
@@ -273,6 +273,7 @@ export default function Estimates() {
               <ConsolidatedCirculationList
                 data={data}
                 reduced={isReducedView}
+                driver={stopData?.stopId.split(':')[0]}
                 onCirculationClick={(estimate, idx) => {
                   setSelectedCirculationId(getCirculationId(estimate));
                   setIsMapModalOpen(true);
-- 
cgit v1.3

