client/src/store/configureStore.js
changeset 68 6e18b31b0ad5
parent 67 9206af01f5e5
child 72 7634b424f426
--- a/client/src/store/configureStore.js	Tue Jun 20 21:56:42 2017 +0200
+++ b/client/src/store/configureStore.js	Wed Jun 21 03:23:24 2017 +0200
@@ -43,7 +43,7 @@
 const persistOptions = {
   storage: localForage,
   transforms: [immutableTransform(immutableTransformConfig)],
-  whitelist: ['sessions', 'notes', 'isAuthenticated', 'currentUser', 'token']
+  whitelist: ['sessions', 'notes', 'isAuthenticated', 'currentUser', 'token', 'offline']
 }
 
 const apiClient = new APIClient(config.apiRootUrl);