client/src/reducers/miscReducer.js
changeset 72 7634b424f426
child 107 e6f85e26b08c
--- /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;
+  }
+}
+
+