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

Function FilesPage

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

Source from the content-addressed store, hash-verified

19 * `loading.tsx` covers the navigation/chunk-load transition the same way.
20 */
21export 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}

Callers

nothing calls this directly

Calls 2

getQueryClientFunction · 0.90
prefetchFilesBrowserFunction · 0.90

Tested by

no test coverage detected