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