MCPcopy
hub / github.com/simstudioai/sim / KnowledgePage

Function KnowledgePage

apps/sim/app/workspace/[workspaceId]/knowledge/page.tsx:11–26  ·  view source on GitHub ↗
({
  params,
}: {
  params: Promise<{ workspaceId: string }>
})

Source from the content-addressed store, hash-verified

9}
10
11export 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}

Callers

nothing calls this directly

Calls 2

getQueryClientFunction · 0.90
prefetchKnowledgeBasesFunction · 0.90

Tested by

no test coverage detected