Skip to content

Commit 06b1447

Browse files
refactor: apply comment adjustment suggestions from code review
Co-authored-by: binh-dam-ibigroup <[email protected]>
1 parent 3ef87bd commit 06b1447

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/components/map/connected-endpoints-overlay.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { getActiveSearch, getShowUserSettings } from '../../util/state'
1313

1414
const mapStateToProps = (state, ownProps) => {
1515
const { viewedRoute } = state.otp.ui
16-
// If trip viewer is not active, do not show trip on map
16+
// If the route viewer is active, do not show itinerary on map.
1717
// mainPanelContent is null whenever the trip planner is active.
1818
// Some views like the stop viewer can be accessed via the trip planner
1919
// or the route viewer, so include a route being viewed as a condition

Diff for: lib/components/map/connected-transitive-overlay.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const mapStateToProps = (state, ownProps) => {
99
const { labeledModes, styles } = state.otp.config.map.transitive || {}
1010
const { viewedRoute } = state.otp.ui
1111

12-
// If trip viewer is not active, do not show trip on map
12+
// If the route viewer is active, do not show itinerary on map.
1313
// mainPanelContent is null whenever the trip planner is active.
1414
// Some views like the stop viewer can be accessed via the trip planner
1515
// or the route viewer, so include a route being viewed as a condition

0 commit comments

Comments
 (0)