CBHSQ / findtreatment

FindTreatment.gov, An 18F+SAMHSA Collaboration
https://findtreatment.gov/
Other
19 stars 12 forks source link

Sync w/ 18F/samhsa-prototype #559

Closed Jkrzy closed 4 years ago

Jkrzy commented 4 years ago

Bringing over https://github.com/18F/samhsa-prototype/pull/1

Pinning our google maps javascript API version to quarterly(3.38)

Also tackling CBHSQ#557 here by:

Preventing 3rd party requests while pre-rendering the site. This means DAP, google analytics, and google maps are not loaded during pre-rendering. Setting a value for googleCallbackName on the PlacesAutoComplete component. The presence of a value allows the App to load without google maps being present. Preview branch: https://cg-efcd7c90-b365-4336-8b87-6174f1975c99.app.cloud.gov/preview/18f/samhsa-prototype/pin-gmaps/