| 1 | import { permanentRedirect } from "next/navigation"; |
| 2 | |
| 3 | /** `/constitution` is the canonical constitution page; this docs URL only redirects there. */ |
| 4 | export default async function DocsConstitutionRedirect({ params }: { params: Promise<{ locale: string }> }) { |
| 5 | const { locale } = await params; |
| 6 | permanentRedirect(`/${locale}/constitution`); |
| 7 | } |
| 8 |