mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +00:00
28 lines
710 B
JavaScript
Executable File
28 lines
710 B
JavaScript
Executable File
/**
|
|
* 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';
|
|
|
|
export default class NotFound extends React.Component {
|
|
render() {
|
|
return (
|
|
<div>
|
|
<div className="container">
|
|
<h1>
|
|
<FormattedMessage id="settings-manager.pageNotFound" />.
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|