diff -r 75dc1e794cf4 -r 7634b424f426 client/src/reducers/miscReducer.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/reducers/miscReducer.js Thu Jun 22 10:47:10 2017 +0200 @@ -0,0 +1,12 @@ +import * as types from '../constants/actionTypes'; + +export const autoSubmit = (state = false, action) => { + switch (action.type) { + case types.USER_TOGGLE_AUTO_SUBMIT: + return action.value; + default: + return state; + } +} + +