From eaf9c3d32da4a4d35d9926b2faddfdb2b76097c0 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 19 Jun 2018 18:32:06 +0200 Subject: [PATCH] :bug: change version of localstorage cache due to model change (salaire is now namespaced --- source/storage/persist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/storage/persist.js b/source/storage/persist.js index cde199ba0..c4515f5e7 100644 --- a/source/storage/persist.js +++ b/source/storage/persist.js @@ -1,11 +1,11 @@ /* @flow */ import type { Store } from 'redux' -import { serialize, deserialize } from './serialize' +import { deserialize, serialize } from './serialize' import type { State, SavedSimulation } from '../types/State' import type { Action } from '../types/Actions' -const VERSION = 1 +const VERSION = 2 function throttle(timeout: number, fn: () => void): () => void { let timeoutId