diff --git a/imports/ui/pages/HomePage.jsx b/imports/ui/pages/HomePage.jsx index b0a725f..81530d3 100644 --- a/imports/ui/pages/HomePage.jsx +++ b/imports/ui/pages/HomePage.jsx @@ -13,7 +13,7 @@ export default class HomePage extends React.Component { this.handleClick = this.handleClick.bind(this); this.search = this.search.bind(this); } - +// Es recomendado guardar las llaves en variables de entorno y no en el código handleClick() { fetch("https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyA1hR7bNT1ZIhNGm1eHDGcXUPOB3bIMPo4", { method: "POST" @@ -143,4 +143,4 @@ export default class HomePage extends React.Component { ); } -} \ No newline at end of file +}