Skip to content

Commit 2f07d6b

Browse files
revert: match OTP vehicle position schema
1 parent 10baa92 commit 2f07d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/map/connected-transit-vehicle-overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function VehicleTooltip (props) {
5454
</span>
5555
{/* TODO: localize MPH? */}
5656
{vehicle?.speed > 0 && <div>travelling at {vehicle.speed} Mph</div>}
57-
{vehicle?.nextStop && <div>{stopStatusString} {vehicle.nextStop.name}</div>}
57+
{vehicle?.nextStop && <div>{stopStatusString} {vehicle.nextStop}</div>}
5858
</Tooltip>
5959
)
6060
}

0 commit comments

Comments
 (0)