%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/actioncivile/pre-auth/.8352c036a19b0051d0217d27d25e3f4a/static/js/reducers/
Upload File :
Create Path :
Current File : /home/emergentqj/actioncivile/pre-auth/.8352c036a19b0051d0217d27d25e3f4a/static/js/reducers/lang.js

import { fromJS } from "immutable";
import LIST_ACTIONS from "../constants/action_types";

const initialState = fromJS({
  data: {},
});

const main = (state = initialState, action = {}) => {
  switch (action.type) {
    case LIST_ACTIONS.SET_LANGUAGE:
      return state.set("data", action.data);

    default:
      return state;
  }
};

export default main;

Zerion Mini Shell 1.0