Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Nov 18, 2021
1 parent 53a286d commit d982c28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions sample-app/src/hooks/useAutocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ export function useAutocomplete(
setAutocompleteResponse(response);
autocompleteNetworkIds.current.responseInState = requestId;
}
if (requestId === autocompleteNetworkIds.current.latestRequest) {
resolve(response);
}
resolve(response);
});
}
return [ autocompleteResponse, responseToLatestRequestRef, executeAutocomplete ]
Expand Down
2 changes: 0 additions & 2 deletions sample-app/src/utils/searchhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const defaultGeolocationOptions: PositionOptions = {
*/
export default class SearchHandler {
static async executeSearch(answersActions: AnswersActions, isVertical: boolean) {
console.log('executing search..');
console.log(isVertical);
isVertical
? answersActions.executeVerticalQuery()
: answersActions.executeUniversalQuery();
Expand Down

0 comments on commit d982c28

Please sign in to comment.