- Updated routing for mail settings to redirect to the new settings layout. - Introduced new account layout and section components for better organization. - Replaced hardcoded paths with constants for account and mail settings to enhance maintainability. - Removed deprecated mail settings layout and integrated it into the new settings structure. - Enhanced user experience by streamlining navigation between account and mail settings.
11 lines
318 B
TypeScript
11 lines
318 B
TypeScript
import { CompteSettingsSectionFromSegments } from "@/components/compte/compte-settings-section-view"
|
|
|
|
export default async function AccountSectionPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ section?: string[] }>
|
|
}) {
|
|
const { section } = await params
|
|
return <CompteSettingsSectionFromSegments segments={section} />
|
|
}
|