+ client: login page

This commit is contained in:
Ildar Kamalov
2019-09-05 19:07:14 +03:00
parent 1e4edf0669
commit 66bd06cf69
26 changed files with 607 additions and 118 deletions

View File

@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import * as actionCreators from '../actions';
import { getVersion } from '../actions';
import Header from '../components/Header';
const mapStateToProps = (state) => {
@@ -8,7 +8,11 @@ const mapStateToProps = (state) => {
return props;
};
const mapDispatchToProps = {
getVersion,
};
export default connect(
mapStateToProps,
actionCreators,
mapDispatchToProps,
)(Header);