diff --git a/packages/app/src/state/migrations.ts b/packages/app/src/state/migrations.ts index da82a142d..f9704454c 100644 --- a/packages/app/src/state/migrations.ts +++ b/packages/app/src/state/migrations.ts @@ -59,6 +59,12 @@ export const migrations = { prices: PRICES_INITIAL_STATE, } }, + 37: (state: any) => { + return { + ...state, + stats: STATS_INITIAL_STATE, + } + }, } export default migrations diff --git a/packages/app/src/state/store.ts b/packages/app/src/state/store.ts index ed5fc2649..e09cecf46 100644 --- a/packages/app/src/state/store.ts +++ b/packages/app/src/state/store.ts @@ -36,7 +36,7 @@ const LOG_REDUX = false const persistConfig = { key: 'root1', storage, - version: 36, + version: 37, blacklist: ['app', 'wallet'], migrate: createMigrate(migrations, { debug: true }), }