21 lines
545 B
TypeScript
21 lines
545 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
|
|
import { KeysSettings } from '@/components/features/keys/settings/KeysSettings';
|
|
import { NO_INDEX_PAGE } from '@/libs/constants/seo.constants';
|
|
|
|
import type { Metadata } from 'next';
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const t = await getTranslations('dashboard.keys.header');
|
|
|
|
return {
|
|
title: t('heading'),
|
|
description: t('description'),
|
|
...NO_INDEX_PAGE,
|
|
};
|
|
}
|
|
|
|
const KeysSettingsPage = () => <KeysSettings />;
|
|
|
|
export default KeysSettingsPage;
|