| author | |
| committer | |
| log | e1ba603605a146ce609496454fb51082a5911c46 |
| tree | 79bf09ba799a34357b1f9469fcf8c2729ced9625 |
| parent | 5d61b8b14f7f80e6183a7cc9b51a1c48802ead34 |
1 files changed, 1 insertions(+), 1 deletions(-)
apps/web/src/lib/projectReactQuery.ts+1-1| ... | ... | @@ -35,7 +35,7 @@ export function projectSearchEntriesQueryOptions(input: { |
| 35 | 35 | limit, |
| 36 | 36 | }); |
| 37 | 37 | }, |
| 38 | enabled: input.enabled ?? Boolean(input.api && input.cwd), | |
| 38 | enabled: (input.enabled ?? true) && Boolean(input.api && input.cwd), | |
| 39 | 39 | staleTime: input.staleTime ?? DEFAULT_SEARCH_ENTRIES_STALE_TIME, |
| 40 | 40 | placeholderData: (previous) => previous ?? EMPTY_SEARCH_ENTRIES_RESULT, |
| 41 | 41 | }); |