Skip to content

Commit

Permalink
Restore isRequired on accessToken
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejSWM committed Nov 23, 2023
1 parent 184e4b7 commit 76e093b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DistanceMapView/distanceMapViewPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import PropTypes from 'prop-types';

const propTypes = {
// Public access token to be used to fetch map data from Mapbox.
accessToken: PropTypes.string,
accessToken: PropTypes.string.isRequired,

// Style applied to MapView component. Note some of the View Style props are not available on ViewMap
style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),
Expand Down

0 comments on commit 76e093b

Please sign in to comment.