aboutsummaryrefslogtreecommitdiff
path: root/src/components/StopItem.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
commit5ced7f916d94e86e9a7ec164bee56f9a8e3a2a3a (patch)
treeb1ef5afa17b4a2f9fb2cbd683afc2fb6d905b5e1 /src/components/StopItem.tsx
parent4637373b50636e78dc2c7b6f99be879edb4ff7dc (diff)
Replace Azure SWA with custom server
Diffstat (limited to 'src/components/StopItem.tsx')
-rw-r--r--src/components/StopItem.tsx25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/components/StopItem.tsx b/src/components/StopItem.tsx
deleted file mode 100644
index cf9ccfc..0000000
--- a/src/components/StopItem.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-import { Link } from 'react-router';
-import StopDataProvider, { Stop } from '../data/StopDataProvider';
-import LineIcon from './LineIcon';
-
-interface StopItemProps {
- stop: Stop;
-}
-
-const StopItem: React.FC<StopItemProps> = ({ stop }) => {
-
- return (
- <li className="list-item">
- <Link className="list-item-link" to={`/estimates/${stop.stopId}`}>
- {stop.favourite && <span className="favourite-icon">★</span>} ({stop.stopId}) {StopDataProvider.getDisplayName(stop)}
- <div className="line-icons">
- {stop.lines?.map(line => <LineIcon key={line} line={line} />)}
- </div>
-
- </Link>
- </li>
- );
-};
-
-export default StopItem; \ No newline at end of file