Delete not found container in plugin generator

This commit is contained in:
Pierre Burgy 2017-08-14 11:32:48 +02:00
parent a36ef36cc1
commit 120f84a9bc
3 changed files with 1 additions and 43 deletions

View File

@ -44,4 +44,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -1,29 +0,0 @@
/**
* 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 {
render() {
return (
<div>
<div className="container">
<h1>
<FormattedMessage {...messages.pageNotFound} />
</h1>
</div>
</div>
);
}
}

View File

@ -1,13 +0,0 @@
/*
* NotFoundPage Messages
*
* This contains all the text for the NotFoundPage component.
*/
import { defineMessages } from 'react-intl';
export default defineMessages({
pageNotFound: {
id: 'app.components.NotFoundPage.pageNotFound',
defaultMessage: 'Page not found.',
},
});