Last active
October 9, 2019 14:54
-
-
Save cpv123/6bba8c665dced0073fd9147bdecf0da5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mapStateToProps = state => ({ | |
basketContent: state.user.basket.filter(item => item.id !== null), | |
authetication: { isAuthenticated: state.user.isAuthenticated, ...state.user.adminRoles }, | |
promoCodes: state.user.promoCodes.slice(0, 1) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment