({
params,
}: {
params: Promise<{ workspaceId: string }>
})
| 9 | } |
| 10 | |
| 11 | export default async function KnowledgePage({ |
| 12 | params, |
| 13 | }: { |
| 14 | params: Promise<{ workspaceId: string }> |
| 15 | }) { |
| 16 | const { workspaceId } = await params |
| 17 | |
| 18 | const queryClient = getQueryClient() |
| 19 | await prefetchKnowledgeBases(queryClient, workspaceId) |
| 20 | |
| 21 | return ( |
| 22 | <HydrationBoundary state={dehydrate(queryClient)}> |
| 23 | <Knowledge /> |
| 24 | </HydrationBoundary> |
| 25 | ) |
| 26 | } |
nothing calls this directly
no test coverage detected