Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bell-steven committed Aug 9, 2021
1 parent 3988e45 commit 8fbcbe0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ The `url` property is used to set the url that requests will be made to. If you
`useOnPlatform` configures when the proxy url is used. It can be set to either `web`- will be used only when the device platform is detected as web (but not iOS or Android, or `all` - will always be used.
You can optionally specify headers to apply to your request in the `headers` object.
You can optionally specify headers to apply to your request in the `headers` object.
### Example:
Expand All @@ -435,8 +435,8 @@ const GooglePlacesInput = () => {
url:
'https://cors-anywhere.herokuapp.com/https://maps.googleapis.com/maps/api', // or any proxy server that hits https://maps.googleapis.com/maps/api
headers: {
Authorization: `an auth token` // if required for your proxy
}
Authorization: `an auth token`, // if required for your proxy
},
}}
/>
);
Expand Down

0 comments on commit 8fbcbe0

Please sign in to comment.