2018-01-31 19:12:54 -08:00
|
|
|
import React from 'react';
|
2018-02-07 11:30:39 -08:00
|
|
|
import PropTypes from 'prop-types';
|
2018-01-31 19:12:54 -08:00
|
|
|
import NavBar from 'containers/NavBar';
|
|
|
|
|
|
|
|
class ErrorPage extends React.Component {
|
|
|
|
render () {
|
2018-02-06 22:54:06 -08:00
|
|
|
const { error } = this.props;
|
2018-01-31 19:12:54 -08:00
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<NavBar/>
|
|
|
|
<div className="row row--padded">
|
2018-02-06 22:54:06 -08:00
|
|
|
<p>{error}</p>
|
2018-01-31 19:12:54 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2018-02-07 11:30:39 -08:00
|
|
|
ErrorPage.propTypes = {
|
|
|
|
error: PropTypes.string.isRequired,
|
|
|
|
}
|
2018-01-31 19:12:54 -08:00
|
|
|
|
|
|
|
export default ErrorPage;
|