From 865faa7c7d5a63646ab032d23042753da0c7e33e Mon Sep 17 00:00:00 2001 From: marcinbodnardesktop Date: Mon, 17 May 2021 23:48:56 +0200 Subject: [PATCH] Aet redux persist key to accountId (#1666) --- src/redux/store.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/redux/store.js b/src/redux/store.js index db7b734f85..c24c6a733e 100644 --- a/src/redux/store.js +++ b/src/redux/store.js @@ -11,8 +11,10 @@ import { PersistGate } from 'redux-persist/integration/react' import createRootReducer from '../reducers' import createMiddleware from '../middleware' +import { wallet } from '../utils/wallet' + const persistConfig = { - key: 'root', + key: wallet.accountId, storage, blacklist: ['status', 'staking'] }