Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Nov 18, 2021
1 parent b1d39cd commit 5385506
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 56 deletions.
56 changes: 0 additions & 56 deletions sample-app/src/utils/geolocationutils.tsx

This file was deleted.

6 changes: 6 additions & 0 deletions sample-app/src/utils/searchhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ const defaultGeolocationOptions: PositionOptions = {
maximumAge: 300000,
};

/**
* Provide utility functions related to vertical and universal search execution.
* This includes any potential data check or setup related to a query before
* performing a search, such as fetching searchIntents using autocomplete requests,
* and retrieving user's location using nagivator.geolocation API.
*/
export default class SearchHandler {
static async executeSearch(answersActions: AnswersActions, isVertical: boolean) {
isVertical
Expand Down

0 comments on commit 5385506

Please sign in to comment.