Skip to content

Commit

Permalink
Merge pull request #1822 from HSLdevcom/fix-map
Browse files Browse the repository at this point in the history
Add default value for loaded
  • Loading branch information
siren authored Sep 11, 2017
2 parents e665217 + 724c2eb commit c0f621e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/component/map/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ class Map extends React.Component {
showStops: PropTypes.bool,
zoom: PropTypes.number,
showScaleBar: PropTypes.bool,
loaded: PropTypes.function,
loaded: PropTypes.func,
disableZoom: PropTypes.bool,
};

static defaultProps = {
showScaleBar: false,
loaded: () => {},
};

static contextTypes = {
Expand Down

0 comments on commit c0f621e

Please sign in to comment.