1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-26 10:05:10 +00:00

move to bun

This commit is contained in:
zumbiepig
2024-08-27 09:17:44 -07:00
parent 099d9f4894
commit 3a66a24001
13 changed files with 114 additions and 3599 deletions

View File

@@ -185,7 +185,6 @@ const cookie = {
},
};
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const storage = {
local: {
get: function (key: string) {
@@ -214,7 +213,7 @@ const storage = {
const item = localStorage.getItem('minexlauncher');
if (item !== null) {
const json = JSON.parse(item);
delete json[key];
json[key] = undefined;
localStorage.setItem('minexlauncher', JSON.stringify(json));
}
},
@@ -246,7 +245,7 @@ const storage = {
const item = sessionStorage.getItem('minexlauncher');
if (item !== null) {
const json = JSON.parse(item);
delete json[key];
json[key] = undefined;
sessionStorage.setItem('minexlauncher', JSON.stringify(json));
}
},