Ejemplo n.º 1
0
const mapStateToProps = state => ({
  user: currentUserSelector(state),
  hasLogin: !!jwtSelector(state),
});
Ejemplo n.º 2
0
const mapStateToProps = state => ({
  hasLogin: !!jwtSelector(state),
  isPatron: isPatronSelector(state),
});