client/src/reducers/miscReducer.js
changeset 107 e6f85e26b08c
parent 72 7634b424f426
child 129 d48946d164c6
--- a/client/src/reducers/miscReducer.js	Thu Jun 29 12:06:48 2017 +0200
+++ b/client/src/reducers/miscReducer.js	Thu Jun 29 17:02:21 2017 +0200
@@ -9,4 +9,14 @@
   }
 }
 
-
+export const outbox = (state = [], action) => {
+  switch (action.type) {
+    case types.OFFLINE_PURGE_OUTBOX:
+      // FIXME Does not work
+      // Need to find a way to purge outbox
+      // @see https://github.com/jevakallio/redux-offline/issues/68
+      return state;
+    default:
+      return state;
+  }
+}