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