Fix 10036 - Prevent odd localStorage migration error in Firefox (#10884)

feature/default_network_editable
David Walsh 4 years ago committed by GitHub
parent e7d7d24d83
commit fc30fd44d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/scripts/migrations/050.js

@ -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…
Cancel
Save