moved request error out of show page state

This commit is contained in:
bill bittner 2018-02-07 11:30:39 -08:00
parent 2744045c5c
commit ffb4466fcf
9 changed files with 92 additions and 73 deletions
react/components/ErrorPage

View file

@ -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;