Skip to content

Commit

Permalink
Aet redux persist key to accountId (#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbodnar committed May 17, 2021
1 parent e3f669e commit 07dba59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/redux/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
Expand Down

0 comments on commit 07dba59

Please sign in to comment.