fix: audit
This commit is contained in:
parent
9f8aad114c
commit
b91b81f5c9
21 changed files with 140 additions and 53 deletions
|
@ -21,16 +21,23 @@ export default ({ store, isHMR }) => {
|
|||
return
|
||||
}
|
||||
|
||||
const paths = ['metamask.netId', 'application.selectedStatistic', 'application.selectedInstance']
|
||||
|
||||
if (!store.$isLoadedFromIPFS()) {
|
||||
paths.push('txHashKeeper', 'settings', 'account', 'relayer.jobs', 'encryptedNote.ui')
|
||||
const paths = [
|
||||
'metamask.netId',
|
||||
'application.selectedStatistic',
|
||||
'application.selectedInstance',
|
||||
'txHashKeeper',
|
||||
'settings',
|
||||
'account',
|
||||
'relayer.jobs',
|
||||
'encryptedNote.ui'
|
||||
]
|
||||
|
||||
migrate()
|
||||
|
||||
createPersistedState({
|
||||
key: STORE_NAME,
|
||||
paths
|
||||
})(store)
|
||||
}
|
||||
|
||||
migrate()
|
||||
|
||||
createPersistedState({
|
||||
key: STORE_NAME,
|
||||
paths
|
||||
})(store)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue