client/src/store/configureStore.js
changeset 14 df6780e48eb5
parent 12 48ddaa42b810
child 29 4cfeabef7d5e
--- a/client/src/store/configureStore.js	Thu Jun 01 11:39:20 2017 +0200
+++ b/client/src/store/configureStore.js	Thu Jun 01 15:20:31 2017 +0200
@@ -10,7 +10,9 @@
       return {};
     }
     return JSON.parse(serializedState);
-  } catch (err) {}
+  } catch (err) {
+    return {};
+  }
 }
 
 const saveState = (state) => {