diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-08 23:01:01 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-08 23:01:01 +0100 |
| commit | 2063f8101b1c887e079e11c96755a2441aa1b57b (patch) | |
| tree | 60b64c3567fa6d543c88bd0f827675df3b44ea90 /src/frontend/app/components/StopItem.tsx | |
| parent | c3db1a9a85745597c1bec334443d630f009e30c8 (diff) | |
Rename LineIcon -> RouteIcon, fix some size issues
Diffstat (limited to 'src/frontend/app/components/StopItem.tsx')
| -rw-r--r-- | src/frontend/app/components/StopItem.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/app/components/StopItem.tsx b/src/frontend/app/components/StopItem.tsx index 391e605..35ccf6d 100644 --- a/src/frontend/app/components/StopItem.tsx +++ b/src/frontend/app/components/StopItem.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 StopItemProps { stop: Stop; @@ -25,7 +25,7 @@ const StopItem: React.FC<StopItemProps> = ({ stop }) => { </div> <div className="flex flex-wrap gap-1 mt-1"> {stop.lines?.map((lineObj) => ( - <LineIcon + <RouteIcon key={lineObj.line} line={lineObj.line} colour={lineObj.colour} |
