import { CompteSettingsSectionFromSegments } from "@/components/compte/compte-settings-section-view"

export function generateStaticParams() {
  return [{ section: [] }]
}

export default async function AccountSectionPage({
  params,
}: {
  params: Promise<{ section?: string[] }>
}) {
  const { section } = await params
  return <CompteSettingsSectionFromSegments segments={section} />
}
