Skip to content

Commit

Permalink
removed api from defaultProps
Browse files Browse the repository at this point in the history
  • Loading branch information
neeleshbisht99 committed Jul 15, 2020
1 parent 9d423bf commit 2169d24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-map-gl-directions",
"version": "1.0.1",
"version": "1.0.3",
"description": "React wrapper for @mapbox/mapbox-gl-directions, for use with react-map-gl",
"source": "src/index.js",
"main": "dist/index.js",
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ class Directions extends PureComponent {

static defaultProps = {
position: 'top-right',
api: 'https://api.mapbox.com/directions/v5/mapbox/',
zoom: 16,
profile: 'walking',
onInit: () => {},
Expand Down

0 comments on commit 2169d24

Please sign in to comment.