Open
Description
I am creating my instance like this
const {
placePredictions,
getPlacePredictions,
isPlacePredictionsLoading,
placesService
} = useGoogle({
apiKey: process.env.NEXT_PUBLIC_GOOGLE_PLACES_API_KEY,
});
And calling the placesService
like this
const getPlaceInfo = async (placeId) => {
console.log(placesService)
const info = await placesService.getDetails({ placeId })
}
But in the console I see this {Fg: F$}
and getDetails
is undefined, I am not sure where this is coming from, it might have something to do with the bundler but it seems like the returned object is wrong
Metadata
Metadata
Assignees
Labels
No labels