mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-02-13 22:55:43 +01:00
fix: resolve Prettier markdown code block parsing errors
- 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
This commit is contained in:
20
app/account/[path]/page.tsx
Normal file
20
app/account/[path]/page.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user