From 9708365620aeac6eabc26a937a9bac78c33af2e9 Mon Sep 17 00:00:00 2001 From: dhruv Date: Sat, 15 Apr 2017 21:51:51 +0530 Subject: [PATCH] changed this.props to mapProps --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe4f6374..6228cbf4 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ When the `` instance has been loaded and is ready on the page, it will ca ```javascript React.createClass({ fetchPlaces: function(mapProps, map) { - const {google} = this.props; + const {google} = mapProps; const service = new google.maps.places.PlacesService(map); // ... },