Skip to content

Commit

Permalink
fix: update propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dvun committed Dec 11, 2023
1 parent b06c4ca commit 7d0e6af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/component/map/StopsNearYouMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ StopsNearYouMap.propTypes = {
currentTime: PropTypes.number.isRequired,
stopsNearYou: PropTypes.object,
prioritizedStopsNearYou: PropTypes.array,
favouriteIds: PropTypes.arrayOf(PropTypes.string.isRequired),
favouriteIds: PropTypes.objectOf(PropTypes.string.isRequired),
mapLayers: PropTypes.object.isRequired,
mapLayerOptions: mapLayerOptionsShape,
position: dtLocationShape.isRequired,
Expand All @@ -512,6 +512,7 @@ StopsNearYouMap.propTypes = {
StopsNearYouMap.defaultProps = {
showWalkRoute: false,
loading: false,
favouriteIds: {},
};

StopsNearYouMap.contextTypes = {
Expand Down

0 comments on commit 7d0e6af

Please sign in to comment.