You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

reducer.js 406B

1234567891011121314
  1. import { assign, ReducerRegistry } from '../../base/redux';
  2. import { _SET_INVITE_SEARCH_SUBSCRIPTIONS } from './actionTypes';
  3. ReducerRegistry.register(
  4. 'features/invite-search',
  5. (state = {}, action) => {
  6. switch (action.type) {
  7. case _SET_INVITE_SEARCH_SUBSCRIPTIONS:
  8. return assign(state, 'subscriptions', action.subscriptions);
  9. }
  10. return state;
  11. });