19 lines
502 B
TypeScript
19 lines
502 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
|
|
import { DeactivateForm } from '@/components/features/auth/forms/DeactivateForm';
|
|
import { NO_INDEX_PAGE } from '@/libs/constants/seo.constants';
|
|
|
|
import type { Metadata } from 'next';
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
const t = await getTranslations('auth.deactivate');
|
|
|
|
return {
|
|
title: t('heading'),
|
|
...NO_INDEX_PAGE,
|
|
};
|
|
}
|
|
|
|
const DeactivatePage = () => <DeactivateForm />;
|
|
export default DeactivatePage;
|