From cbac7ce6266a27aa0191ec356464eb1ecf182731 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Mon, 6 Jul 2020 16:24:28 -0400 Subject: [PATCH] fix(StopViewerOverlay): Fix prop name for overlay. --- lib/components/map/connected-stop-viewer-overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/map/connected-stop-viewer-overlay.js b/lib/components/map/connected-stop-viewer-overlay.js index ead3f0868..f86516861 100644 --- a/lib/components/map/connected-stop-viewer-overlay.js +++ b/lib/components/map/connected-stop-viewer-overlay.js @@ -7,7 +7,7 @@ import { connect } from 'react-redux' const mapStateToProps = (state, ownProps) => { const viewedStop = state.otp.ui.viewedStop return { - stopData: viewedStop + stop: viewedStop ? state.otp.transitIndex.stops[viewedStop.stopId] : null, StopMarker: DefaultStopMarker