ultisuite-client/app/compte/[[...section]]/page.tsx
R3D347HR4Y d6d18f911b
Some checks failed
E2E / Playwright e2e (push) Has been cancelled
Lots of stuff and mobile app
2026-06-17 00:13:28 +02:00

18 lines
574 B
TypeScript

import { CompteSettingsSectionFromSegments } from "@/components/compte/compte-settings-section-view"
// On web, next.config redirects /compte -> /account. In the mobile static export
// there are no redirects, so this page keeps the account UI reachable at /compte
// from every per-app build.
export function generateStaticParams() {
return [{ section: [] }]
}
export default async function ComptePage({
params,
}: {
params: Promise<{ section?: string[] }>
}) {
const { section } = await params
return <CompteSettingsSectionFromSegments segments={section} />
}