mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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;
|
versionedData.meta.version = version;
|
||||||
|
|
||||||
LEGACY_LOCAL_STORAGE_KEYS.forEach((key) =>
|
LEGACY_LOCAL_STORAGE_KEYS.forEach((key) =>
|
||||||
window.localStorage.removeItem(key),
|
window.localStorage?.removeItem(key),
|
||||||
);
|
);
|
||||||
|
|
||||||
return versionedData;
|
return versionedData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user