mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 23:55:43 +01:00
- Fix syntax errors in skills markdown files (.github/skills, .opencode/skills) - Change typescript to tsx for code blocks with JSX - Replace ellipsis (...) in array examples with valid syntax - Separate CSS from TypeScript into distinct code blocks - Convert JavaScript object examples to valid JSON in docs - Fix enum definitions with proper comma separation
21 lines
483 B
TypeScript
21 lines
483 B
TypeScript
import { AccountView } from "@neondatabase/auth/react";
|
|
import { accountViewPaths } from "@neondatabase/auth/react/ui/server";
|
|
|
|
export function generateStaticParams() {
|
|
return Object.values(accountViewPaths).map((path) => ({ path }));
|
|
}
|
|
|
|
export default async function AccountPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ path: string }>;
|
|
}) {
|
|
const { path } = await params;
|
|
|
|
return (
|
|
<main className="container p-4 md:p-6">
|
|
<AccountView path={path} />
|
|
</main>
|
|
);
|
|
}
|