messageReducer.js
589 Bytes
'use strict';
import InitialState from './messageInitialState';
import Immutable, {Map} from 'immutable';
const {
SETTING_SAVE_REQUEST,
SETTING_SAVE_SUCCESS,
SETTING_SAVE_FAILURE,
} = require('../../constants/actionTypes').default;
const initialState = new InitialState;
export default function settingReducer(state = initialState, action) {
if (!(state instanceof InitialState)) return initialState.merge(state);
// switch (action.type) {
// case SETTING_SAVE_REQUEST:
//
// break;
// default:
//
// }
return state;
}