Skip to content

Commit

Permalink
Fix production build
Browse files Browse the repository at this point in the history
  • Loading branch information
chunlaw committed Apr 6, 2024
1 parent 96c7b11 commit 7d40f3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/home/lists/NearbyRouteList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const getRoutes = ({
});
return acc;
},
{ bus: [], mtr: [], lightRail: [], minibus: [] } as Record<
{ bus: [], mtr: [], lightRail: [], minibus: [], ferry: [] } as Record<
TransportType,
string[]
>
Expand Down
6 changes: 3 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,11 @@ export const coToType: Record<Company, TransportType> = {
ctb: "bus",
lrtfeeder: "bus",
gmb: "minibus",
gmbHki: "minibus",
gmbKln: "minibus",
gmbNt: "minibus",
lightRail: "lightRail",
mtr: "mtr",
sunferry: "ferry",
fortuneferry: "ferry",
hkkf: "ferry",
};

const PLATFORM = ["", "①", "②", "③", "④", "⑤", "⑥", "⑦", "⑧", "⑨"] as const;
Expand Down

0 comments on commit 7d40f3e

Please sign in to comment.