Merge remote-tracking branch 'upstream/dev' into fix/drive-connector

This commit is contained in:
Anish Sarkar 2026-01-28 02:34:30 +05:30
commit 8a5f6ecce1
16 changed files with 171 additions and 218 deletions

View file

@ -86,10 +86,10 @@ export function LayoutDataProvider({
enabled: !!searchSpaceId,
});
// Fetch threads
// Fetch threads (40 total to allow up to 20 per section - shared/private)
const { data: threadsData } = useQuery({
queryKey: ["threads", searchSpaceId, { limit: 4 }],
queryFn: () => fetchThreads(Number(searchSpaceId), 4),
queryKey: ["threads", searchSpaceId, { limit: 40 }],
queryFn: () => fetchThreads(Number(searchSpaceId), 40),
enabled: !!searchSpaceId,
});