moved request error out of show page state
This commit is contained in:
parent
2744045c5c
commit
ffb4466fcf
9 changed files with 92 additions and 73 deletions
react/components/ErrorPage
|
@ -1,4 +1,5 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import NavBar from 'containers/NavBar';
|
||||
|
||||
class ErrorPage extends React.Component {
|
||||
|
@ -15,7 +16,8 @@ class ErrorPage extends React.Component {
|
|||
}
|
||||
};
|
||||
|
||||
// required props
|
||||
// error
|
||||
ErrorPage.propTypes = {
|
||||
error: PropTypes.string.isRequired,
|
||||
}
|
||||
|
||||
export default ErrorPage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue