Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions imports/ui/pages/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -143,4 +143,4 @@ export default class HomePage extends React.Component {
);

}
}
}