From 9d38db605e25febc81f8832f4756cbb6cfc010b8 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Fri, 12 Dec 2025 16:52:05 +0100
Subject: Fix formatting and errors

---
 src/frontend/app/routes/home.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/frontend/app/routes/home.tsx')

diff --git a/src/frontend/app/routes/home.tsx b/src/frontend/app/routes/home.tsx
index 7c13da6..e97659a 100644
--- a/src/frontend/app/routes/home.tsx
+++ b/src/frontend/app/routes/home.tsx
@@ -120,9 +120,9 @@ export default function StopList() {
       const a =
         Math.sin(dLat / 2) * Math.sin(dLat / 2) +
         Math.cos(toRadians(lat1)) *
-        Math.cos(toRadians(lat2)) *
-        Math.sin(dLon / 2) *
-        Math.sin(dLon / 2);
+          Math.cos(toRadians(lat2)) *
+          Math.sin(dLon / 2) *
+          Math.sin(dLon / 2);
       const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
       return R * c;
     };
@@ -342,9 +342,9 @@ export default function StopList() {
               )}
               {!loading && data
                 ? (userLocation
-                  ? sortedAllStops.slice(0, 6)
-                  : sortedAllStops
-                ).map((stop) => <StopItem key={stop.stopId} stop={stop} />)
+                    ? sortedAllStops.slice(0, 6)
+                    : sortedAllStops
+                  ).map((stop) => <StopItem key={stop.stopId} stop={stop} />)
                 : null}
             </ul>
           </div>
-- 
cgit v1.3

