Skip to content

Commit c0c7842

Browse files
committed
fix: remove cached update when unregistering
1 parent 0e188b9 commit c0c7842

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/updates.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export function validate(plugin) {
102102

103103
export function unregister(plugin) {
104104
const key = plugin.name || plugin;
105+
localStorage.removeItem(`${PREFIX}${key}`);
105106
return pendingUpdates.delete(key);
106107
}
107108

0 commit comments

Comments
 (0)