2018-02-01 04:12:54 +01:00
|
|
|
import React from 'react';
|
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
// required props
|
|
|
|
// error
|
|
|
|
|
|
|
|
export default ErrorPage;
|