Skip to content

Commit b9ffbd7

Browse files
Renaming wrong documentation hook (#111)
1 parent 4a2705d commit b9ffbd7

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
@@ -122,7 +122,7 @@ import usePlacesService from "react-google-autocomplete/lib/usePlacesAutocomplet
122122

123123
export default () => {
124124
const { placePredictions, getPlacePredictions, isPlacePredictionsLoading } =
125-
useGoogle({
125+
usePlacesService({
126126
apiKey: process.env.REACT_APP_GOOGLE,
127127
});
128128

0 commit comments

Comments
 (0)