mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
19 lines
504 B
JavaScript
19 lines
504 B
JavaScript
import AppLayout from 'components/layout/AppLayout';
|
|
import { useIntl, defineMessages } from 'react-intl';
|
|
|
|
const messages = defineMessages({
|
|
notFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' },
|
|
});
|
|
|
|
export default function Custom404() {
|
|
const { formatMessage } = useIntl();
|
|
|
|
return (
|
|
<AppLayout>
|
|
<div className="row justify-content-center">
|
|
<h1 style={{ textAlign: 'center' }}>{formatMessage(messages.notFound)}</h1>
|
|
</div>
|
|
</AppLayout>
|
|
);
|
|
}
|