({ params }: { params: Promise<{ workspaceId: string }> })
| 17 | * route-level `loading.tsx` covers the navigation/chunk-load transition. |
| 18 | */ |
| 19 | export 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 | } |
nothing calls this directly
no test coverage detected