mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 01:07:27 +00:00

git-subtree-dir: packages/strapi-plugin-settings-manager git-subtree-mainline: 80aa83d8460c95366547e143c74bf79ea6ae69f8 git-subtree-split: cd241c14c6a6239bca279e7accd709ba58e87cc8
31 lines
793 B
JavaScript
31 lines
793 B
JavaScript
/**
|
|
* NotFoundPage
|
|
*
|
|
* This is the page we show when the user visits a url that doesn't have a route
|
|
*
|
|
* NOTE: while this component should technically be a stateless functional
|
|
* component (SFC), hot reloading does not currently support SFCs. If hot
|
|
* reloading is not a neccessity for you then you can refactor it and remove
|
|
* the linting exception.
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import messages from './messages';
|
|
|
|
export default class NotFound extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
<div className="container">
|
|
<h1>
|
|
<FormattedMessage {...messages.pageNotFound} />
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|