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.

13 lines
334 B

  1. import { List as ImmutableList } from 'immutable';
  2. import { STORE_HYDRATE } from '../actions/store';
  3. const initialState = ImmutableList();
  4. export default function statuses(state = initialState, action) {
  5. switch(action.type) {
  6. case STORE_HYDRATE:
  7. return action.state.get('custom_emojis');
  8. default:
  9. return state;
  10. }
  11. };