Skip to content

Commit

Permalink
Merge pull request #749 from Gautam-Arora24/develop
Browse files Browse the repository at this point in the history
Handled Input Bug
  • Loading branch information
entrotech authored Oct 21, 2020
2 parents b0f8cc9 + 0c2a97e commit 4b0d76f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export default function Search({ userCoordinates, setOrigin, origin }) {
});

const handleInputChange = (event) => {
if (!event.target.value) return;
console.log(event);
// if (!event.target.value) return;
setSelectedPlace(event.target.value);
updateNewInputValue(event.target.value);
fetchMapboxResults(event.target.value);
Expand Down

0 comments on commit 4b0d76f

Please sign in to comment.