src/Login/Container.js
/**
 *
 * mapStateToProps
 * user : logged in user data
 *
 */
mapStateToProps
user : logged in user data
mapStateToProps user : logged in user data
function mapStateToProps (state) {
    return {
        user: state.login.user
    }
}
function mapStateToProps ( state ) { return { user : state . login . user } }
mapStateToProps
 user : logged in user data
mapStateToProps user : logged in user data