Skip to content

Commit

Permalink
feat: remove previously dismissed migration on settings click
Browse files Browse the repository at this point in the history
  • Loading branch information
mchappell committed Oct 29, 2024
1 parent 026bc6f commit 9f4266e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ export const dismissMigration = ({
});
};

export const disableMigration = () =>
export const disableMigration = () => {
storage.local.set({
[MIGRATION_KEY]: MigrationState.None,
});
storage.local.remove(DISMISS_MIGRATION_UNTIL);
};

export const handleLaceMigrationRequests = () =>
runtime.onMessageExternal.addListener(
Expand Down

0 comments on commit 9f4266e

Please sign in to comment.