This commit is contained in:
Florian Bernard
2026-08-28 14:26:22 +00:00
parent 5b51fd3c24
commit cb41745f0d
@@ -1,17 +1,5 @@
export default {
async importLocalStoreCode() {
const raw = window.localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
if (!raw) return null;
let value;
try {
value = JSON.parse(raw);
} catch (e) {
value = raw;
}
await storeValue("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master", value, true);
return value;
return window.localStorage.getItem("APPSMITH_LOCAL_STORE-6a61c812eeb7b478efb4d1fa-master");
}
}