Skip to content

Commit

Permalink
always resolve after response returned
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Nov 18, 2021
1 parent 965419c commit 53a286d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sample-app/src/utils/searchhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ 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 53a286d

Please sign in to comment.