This commit is contained in:
Julius Marminge committed 2026-02-17 16:15:40 -08:00
1 parent be9b9e33b2
commit a9ce5cc32c
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ export function projectSearchEntriesQueryOptions(input: {
limit,
});
},
enabled: input.enabled ?? Boolean(input.api && input.cwd),
enabled: (input.enabled ?? true) && Boolean(input.api && input.cwd),
staleTime: input.staleTime ?? DEFAULT_SEARCH_ENTRIES_STALE_TIME,
placeholderData: (previous) => previous ?? EMPTY_SEARCH_ENTRIES_RESULT,
});