Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Jan 20, 2021
1 parent 15fa884 commit 0ce788c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface DiscoverSearchSessionManagerDeps {
}

/**
* Helps with state management of search session and {@link SEARCH_SESSION_ID_QUERY_PARAM} from the URL
* Helps with state management of search session and {@link SEARCH_SESSION_ID_QUERY_PARAM} in the URL
*/
export class DiscoverSearchSessionManager {
/**
Expand Down Expand Up @@ -73,7 +73,10 @@ export class DiscoverSearchSessionManager {
}
}

hasSearchSessionIdInURL() {
/**
* If there is a {@link SEARCH_SESSION_ID_QUERY_PARAM} currently in the URL
*/
hasSearchSessionIdInURL(): boolean {
return !!this.getSearchSessionIdFromURL();
}

Expand Down

0 comments on commit 0ce788c

Please sign in to comment.