({ params }: { params: Promise<{ workspaceId: string }> })
| 19 | * `loading.tsx` covers the navigation/chunk-load transition the same way. |
| 20 | */ |
| 21 | export default async function FilesPage({ params }: { params: Promise<{ workspaceId: string }> }) { |
| 22 | const { workspaceId } = await params |
| 23 | |
| 24 | const queryClient = getQueryClient() |
| 25 | await prefetchFilesBrowser(queryClient, workspaceId) |
| 26 | |
| 27 | return ( |
| 28 | <HydrationBoundary state={dehydrate(queryClient)}> |
| 29 | <Suspense fallback={<FilesLoading />}> |
| 30 | <Files /> |
| 31 | </Suspense> |
| 32 | </HydrationBoundary> |
| 33 | ) |
| 34 | } |
nothing calls this directly
no test coverage detected