aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/routes/routes.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/routes/routes.tsx')
-rw-r--r--src/frontend/app/routes/routes.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/app/routes/routes.tsx b/src/frontend/app/routes/routes.tsx
index 1e85cfb..b33fe58 100644
--- a/src/frontend/app/routes/routes.tsx
+++ b/src/frontend/app/routes/routes.tsx
@@ -3,7 +3,7 @@ import { useState } from "react";
import { useTranslation } from "react-i18next";
import { Link } from "react-router";
import { fetchRoutes } from "~/api/transit";
-import LineIcon from "~/components/LineIcon";
+import RouteIcon from "~/components/RouteIcon";
import { usePageTitle } from "~/contexts/PageTitleContext";
import "../tailwind-full.css";
@@ -85,7 +85,7 @@ export default function RoutesPage() {
to={`/routes/${route.id}`}
className="flex items-center gap-3 p-4 bg-surface rounded-lg shadow hover:shadow-lg transition-shadow border border-border"
>
- <LineIcon
+ <RouteIcon
line={route.shortName ?? "?"}
mode="pill"
colour={route.color ?? undefined}