import { useTranslations } from 'next-intl';

export default function PageTitle({ title }: { title: string }) {
	const t = useTranslations('Global');
	return (
		<div className="page-title">
			<h1>
				{t(title)}
			</h1>
		</div>
	)
}