22 lines
507 B
TypeScript
22 lines
507 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
|
|
import { UserSettings } from '@/components/features/user/UserSettings';
|
|
|
|
import type { Metadata } from 'next';
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const t = await getTranslations('dashboard.settings.header');
|
|
|
|
return {
|
|
title: t('heading'),
|
|
description: t('description'),
|
|
robots: { index: false, follow: false },
|
|
};
|
|
}
|
|
|
|
const DashboardSettings = () => (
|
|
<UserSettings />
|
|
);
|
|
|
|
export default DashboardSettings;
|