diff --git a/packages/hoppscotch-common/src/services/spotlight/searchers/teamRequest.searcher.ts b/packages/hoppscotch-common/src/services/spotlight/searchers/teamRequest.searcher.ts index 891eeae0f58..2fc82b0969f 100644 --- a/packages/hoppscotch-common/src/services/spotlight/searchers/teamRequest.searcher.ts +++ b/packages/hoppscotch-common/src/services/spotlight/searchers/teamRequest.searcher.ts @@ -58,7 +58,7 @@ export class TeamsSpotlightSearcherService (query) => { if (this.workspaceService.currentWorkspace.value.type === "team") { const teamID = this.workspaceService.currentWorkspace.value.teamID - debouncedSearch(query, teamID)?.catch((_) => {}) + debouncedSearch(query, teamID)?.catch(() => {}) } }, { @@ -77,8 +77,8 @@ export class TeamsSpotlightSearcherService watch( teamName, - (teamName) => { - this.searcherSectionTitle = teamName + (newTeamName) => { + this.searcherSectionTitle = newTeamName }, { immediate: true,