aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/StopGalleryItem.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components/StopGalleryItem.tsx')
-rw-r--r--src/frontend/app/components/StopGalleryItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/app/components/StopGalleryItem.tsx b/src/frontend/app/components/StopGalleryItem.tsx
index de369d8..d407816 100644
--- a/src/frontend/app/components/StopGalleryItem.tsx
+++ b/src/frontend/app/components/StopGalleryItem.tsx
@@ -1,7 +1,7 @@
import React from "react";
import { Link } from "react-router";
import StopDataProvider, { type Stop } from "../data/StopDataProvider";
-import LineIcon from "./LineIcon";
+import RouteIcon from "./RouteIcon";
interface StopGalleryItemProps {
stop: Stop;
@@ -42,7 +42,7 @@ const StopGalleryItem: React.FC<StopGalleryItemProps> = ({ stop }) => {
</div>
<div className="flex flex-wrap gap-1 items-center">
{stop.lines?.slice(0, 5).map((lineObj) => (
- <LineIcon
+ <RouteIcon
key={lineObj.line}
line={lineObj.line}
colour={lineObj.colour}