mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-12 23:33:14 +01:00
Théo LUDWIG
6b29ce9b15
Improvements: - Hide switch theme input (ugly little white square) - i18n without subpath (e.g: /fr or /en), same url whatever the locale used
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import { getI18n } from '@/i18n/i18n.server'
|
|
import { ErrorPage } from '@/components/ErrorPage'
|
|
|
|
const NotFound = (): JSX.Element => {
|
|
const i18n = getI18n()
|
|
|
|
return (
|
|
<ErrorPage statusCode={404} message={i18n.translate('errors.not-found')} />
|
|
)
|
|
}
|
|
|
|
export default NotFound
|