mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +01:00
Fix 10036 - Prevent odd localStorage migration error in Firefox (#10884)
This commit is contained in:
parent
e7d7d24d83
commit
fc30fd44d7
@ -24,7 +24,7 @@ export default {
|
||||
versionedData.meta.version = version;
|
||||
|
||||
LEGACY_LOCAL_STORAGE_KEYS.forEach((key) =>
|
||||
window.localStorage.removeItem(key),
|
||||
window.localStorage?.removeItem(key),
|
||||
);
|
||||
|
||||
return versionedData;
|
||||
|
Loading…
Reference in New Issue
Block a user