mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-10 06:18:07 +01:00
23 lines
505 B
TypeScript
23 lines
505 B
TypeScript
import { GetStaticProps } from 'next'
|
|
import useTranslation from 'next-translate/useTranslation'
|
|
|
|
import { ErrorPage } from 'components/ErrorPage'
|
|
import { Head } from 'components/Head'
|
|
|
|
const Error500: React.FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<Head title='Divlo - 500' />
|
|
<ErrorPage statusCode={500} message={t('errors:serverError')} />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export const getStaticProps: GetStaticProps = async () => {
|
|
return { props: {} }
|
|
}
|
|
|
|
export default Error500
|