Skip to content

Commit

Permalink
chore: reset plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Dec 15, 2024
1 parent 5e36d3a commit af3e1eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.7.0",
"version": "1.8.0",
"type": "module",
"license": "GPL-3.0-only",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions packages/app/src/contexts/Migrate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af3e1eb

Please sign in to comment.