From d405371e9392c90e63ac9bd1335de836ac84d9c3 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Fri, 22 Mar 2024 23:37:00 +0530 Subject: [PATCH] chore: cleanup --- .../services/spotlight/searchers/teamRequest.searcher.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,