Skip to content

Commit

Permalink
fix bug causing percy crash
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-heppner-ibigroup committed Nov 25, 2024
1 parent 0158db2 commit 0a062eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/map/default-map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class DefaultMap extends Component {
const baseLayerNames = baseLayersWithNames?.map((bl) => bl.name)

const routeBasedTransitVehicleOverlayNameOverride =
overlays.find((o) => o.type === 'vehicles-one-route')?.name || undefined
overlays?.find((o) => o.type === 'vehicles-one-route')?.name || undefined

return (
<MapContainer className="percy-hide">
Expand Down

0 comments on commit 0a062eb

Please sign in to comment.