From af3e1eb447d8e1be4e09e42eaa8732f801d46aee Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Sun, 15 Dec 2024 23:14:28 +0700 Subject: [PATCH] chore: reset plugins --- packages/app/package.json | 2 +- packages/app/src/contexts/Migrate/index.tsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/app/package.json b/packages/app/package.json index dc50523bba..8ca9a41ade 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "1.7.0", + "version": "1.8.0", "type": "module", "license": "GPL-3.0-only", "scripts": { diff --git a/packages/app/src/contexts/Migrate/index.tsx b/packages/app/src/contexts/Migrate/index.tsx index f4146860d6..2bf92890b0 100644 --- a/packages/app/src/contexts/Migrate/index.tsx +++ b/packages/app/src/contexts/Migrate/index.tsx @@ -43,6 +43,10 @@ export const MigrateProvider = ({ children }: { children: ReactNode }) => { if (isReady && !syncing && !done) { // Carry out migrations if local version is different to current version. if (localAppVersion !== version) { + // Added in 1.8.0 + // + // Reset local plugins data. + localStorage.removeItem('plugins') // Added in 1.4.3 // // Remove local era stakers data and locale data. Paged rewards are now active and local