Skip to content

Commit 996e170

Browse files
authored
Merge pull request #81 from Dhruv56/master
changed this.props to mapProps
2 parents f34ce6c + 9708365 commit 996e170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ When the `<Map />` instance has been loaded and is ready on the page, it will ca
5858
```javascript
5959
React.createClass({
6060
fetchPlaces: function(mapProps, map) {
61-
const {google} = this.props;
61+
const {google} = mapProps;
6262
const service = new google.maps.places.PlacesService(map);
6363
// ...
6464
},

0 commit comments

Comments
 (0)