client/src/reducers/miscReducer.js
changeset 72 7634b424f426
child 107 e6f85e26b08c
equal deleted inserted replaced
71:75dc1e794cf4 72:7634b424f426
       
     1 import * as types from '../constants/actionTypes';
       
     2 
       
     3 export const autoSubmit = (state = false, action) => {
       
     4   switch (action.type) {
       
     5     case types.USER_TOGGLE_AUTO_SUBMIT:
       
     6       return action.value;
       
     7     default:
       
     8       return state;
       
     9   }
       
    10 }
       
    11 
       
    12