We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c175ade commit 12ce5cfCopy full SHA for 12ce5cf
apps/database/app/table/[database]/[table]/schema/page.tsx
@@ -157,12 +157,12 @@ const TRANSFORMATION_MAP: Record<
157
},
158
};
159
160
-export default function TableSchemaPage({
+export default async function TableSchemaPage({
161
params,
162
}: {
163
- params: { database: string; table: string };
+ params: Promise<{ database: string; table: string }>;
164
}) {
165
- const { database, table } = params;
+ const { database, table } = await params;
166
const [columns, setColumns] = useState<ColumnInfo[]>([]);
167
const [tableInfo, setTableInfo] = useState<TableInfo | null>(null);
168
const [loading, setLoading] = useState(false);
0 commit comments