client/src/components/SessionForm.js
changeset 129 d48946d164c6
parent 108 732adc46c8b8
child 132 906a6c7c7943
equal deleted inserted replaced
128:34a75bd8d0b9 129:d48946d164c6
   153     group = state.groups.find(group => props.session.group.get('id') === group.id)
   153     group = state.groups.find(group => props.session.group.get('id') === group.id)
   154   }
   154   }
   155 
   155 
   156   return {
   156   return {
   157     currentSession: props.session,
   157     currentSession: props.session,
   158     createGroup: state.createGroup,
   158     createGroup: state.get('createGroup'),
   159     groups: state.groups,
   159     groups: state.get('groups'),
   160     group
   160     group
   161   };
   161   };
   162 }
   162 }
   163 
   163 
   164 function mapDispatchToProps(dispatch) {
   164 function mapDispatchToProps(dispatch) {