How do I combine the withSnackbar with withRouter?
const mapStateToProps = (state, props) => { return { loggedIn: state.loginReducer.loggedIn }; };
export default withRouter(connect(mapStateToProps, null)(DbPaper));
THIS DOES NOT WORK export default withRouter(withSnackbar(DbPaper), connect(mapStateToProps, null)(DbPaper));
any help is appreciated. Thanks