Add Groups
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
var connect = require('react-redux').connect;
|
||||
|
||||
var UserActions = require('../actions/UserActions');
|
||||
var GroupActions = require('../actions/GroupActions');
|
||||
|
||||
var LunchApp = require('../components/LunchApp');
|
||||
|
||||
@ -13,6 +14,7 @@ function mapStateToProps(state) {
|
||||
function mapDispatchToProps(dispatch) {
|
||||
return {
|
||||
tryResumingSession: function() {dispatch(UserActions.tryResumingSession())},
|
||||
fetchGroups: function() {dispatch(GroupActions.fetchAll())}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user