Skip to content

Commit b029dd5

Browse files
committed
💄
1 parent 3dcba47 commit b029dd5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

components/dashboard/src/data/git-providers/search-repositories-query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useSearchRepositories = ({ searchString, limit }: { searchString: s
2424
return repositories;
2525
},
2626
{
27-
enabled: !!org && debouncedSearchString.length > 0,
27+
enabled: !!org && debouncedSearchString.trim().length > 0,
2828
// Need this to keep previous results while we wait for a new search to complete since debouncedSearchString changes and updates the key
2929
keepPreviousData: true,
3030
// We intentionally don't want to trigger refetches here to avoid a loading state side effect of focusing

components/dashboard/src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ export function isTrustedUrlOrPath(urlOrPath: string) {
235235
}
236236

237237
type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" | "Azure DevOps";
238-
239238
const unifyProviderType = (type: AuthProviderType): UnifiedAuthProvider | undefined => {
240239
switch (type) {
241240
case AuthProviderType.BITBUCKET:

0 commit comments

Comments
 (0)