From 0c2a97e976c8ad8dd6fcd56bf36fb979d43fe713 Mon Sep 17 00:00:00 2001 From: Gautam Arora Date: Wed, 21 Oct 2020 09:30:00 +0530 Subject: [PATCH] Handled Input Bug --- client/src/components/Search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/Search.js b/client/src/components/Search.js index be3422b94..8d37e6b4c 100644 --- a/client/src/components/Search.js +++ b/client/src/components/Search.js @@ -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);