digitalfabrik/integreat-app

View on GitHub
web/src/routes/NotFoundPage.tsx

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import React, { ReactElement } from 'react'
import { useTranslation } from 'react-i18next'

import Helmet from '../components/Helmet'

const NotFoundPage = (): ReactElement => {
  const { t } = useTranslation('error')
  const pageTitle = t('notFound.pageTitle')

  return (
    <div>
      <Helmet pageTitle={pageTitle} />
      not-found
    </div>
  )
}

export default NotFoundPage