LoginRoute.js
584 Bytes
import React from 'react';
import { connect } from 'react-redux';
import cx from 'classnames';
import Login from '../../containers/Login';
class LoginRoute extends React.Component {
static propTypes = {
}
constructor(props) {
super(props);
}
componentDidMount() {
}
render() {
return (
<div className={cx('')}>
<Login />
</div>
);
}
}
const mapState = (state) => {
const { router = {} } = state;
return {
router
};
};
export default connect(mapState)(LoginRoute);