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

Function TablesPage

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

Source from the content-addressed store, hash-verified

17 * route-level `loading.tsx` covers the navigation/chunk-load transition.
18 */
19export default async function TablesPage({ params }: { params: Promise<{ workspaceId: string }> }) {
20 const { workspaceId } = await params
21
22 const queryClient = getQueryClient()
23 await prefetchTables(queryClient, workspaceId)
24
25 return (
26 <HydrationBoundary state={dehydrate(queryClient)}>
27 <Suspense fallback={<TablesLoading />}>
28 <Tables />
29 </Suspense>
30 </HydrationBoundary>
31 )
32}

Callers

nothing calls this directly

Calls 2

getQueryClientFunction · 0.90
prefetchTablesFunction · 0.90

Tested by

no test coverage detected