Added 404 page

This commit is contained in:
2019-05-07 21:48:20 +10:00
parent 1628b63eb2
commit 7a218368c2
9 changed files with 190 additions and 3 deletions
+35
View File
@@ -0,0 +1,35 @@
import React from 'react';
import { connect } from 'react-redux';
import { withRouter, Link } from 'react-router-dom';
import PropTypes from 'prop-types';
class Home extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div className='page'>
<p>This is the home page</p>
</div>
);
}
}
function mapStoreToProps(store) {
return {
//
}
}
function mapDispatchToProps(dispatch) {
return {
//
}
}
Home = connect(mapStoreToProps, mapDispatchToProps)(Home);
export default withRouter(Home);