diff --git a/lib/dotcom_web/components/trip_planner/transit_leg.ex b/lib/dotcom_web/components/trip_planner/transit_leg.ex index 41a61a7f86..044c2b2f91 100644 --- a/lib/dotcom_web/components/trip_planner/transit_leg.ex +++ b/lib/dotcom_web/components/trip_planner/transit_leg.ex @@ -65,7 +65,8 @@ defmodule DotcomWeb.Components.TripPlanner.TransitLeg do defp leg_line_class(%Route{} = route) do route - |> Routes.Route.icon_atom() + |> Route.to_naive() + |> Route.icon_atom() |> CSSHelpers.atom_to_class() |> then(&"border-#{&1}") end