Skip to content

Commit

Permalink
Updates google maps api version to alpha.
Browse files Browse the repository at this point in the history
  • Loading branch information
wjames111 committed Oct 30, 2024
1 parent f442ffa commit 10e3b93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const StreetAutocomplete: React.FC<StreetAutocompleteProps> = ({

const { isLoaded } = useJsApiLoader({
googleMapsApiKey: process.env.GOOGLE_MAPS_API_KEY || '',
version: 'alpha',
libraries: useRef(['places' as const]).current,
});

Expand Down
1 change: 1 addition & 0 deletions src/components/Contacts/ContactsMap/ContactsMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const ContactsMap: React.FC = ({}) => {

const { isLoaded, loadError } = useJsApiLoader({
googleMapsApiKey: process.env.GOOGLE_MAPS_API_KEY || '',
version: 'alpha',
libraries: useRef(['places' as const]).current,
});

Expand Down

0 comments on commit 10e3b93

Please sign in to comment.