From bed48c3d7e49b1736d50ce42d92bb6c18cf02504 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Mon, 22 Dec 2025 22:06:06 +0100
Subject: Refactor arrivals handling and improve type definitions; reorganise
 components

---
 src/frontend/app/components/Stops/ArrivalList.tsx | 25 -----------------------
 1 file changed, 25 deletions(-)
 delete mode 100644 src/frontend/app/components/Stops/ArrivalList.tsx

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

diff --git a/src/frontend/app/components/Stops/ArrivalList.tsx b/src/frontend/app/components/Stops/ArrivalList.tsx
deleted file mode 100644
index a1210d5..0000000
--- a/src/frontend/app/components/Stops/ArrivalList.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from "react";
-import { type Arrival } from "../../api/schema";
-import { ArrivalCard } from "./ArrivalCard";
-
-interface ArrivalListProps {
-  arrivals: Arrival[];
-  reduced?: boolean;
-}
-
-export const ArrivalList: React.FC<ArrivalListProps> = ({
-  arrivals,
-  reduced,
-}) => {
-  return (
-    <div className="flex flex-col gap-3">
-      {arrivals.map((arrival, index) => (
-        <ArrivalCard
-          key={`${arrival.route.shortName}-${index}`}
-          arrival={arrival}
-          reduced={reduced}
-        />
-      ))}
-    </div>
-  );
-};
-- 
cgit v1.3

