This commit is contained in:
thePR0M3TH3AN committed 2025-11-12 11:06:10 -05:00
1 parent 000127f88c
commit 071d78dd6c
194 files changed
+28793 -3944

No files matched your search

+4 -4
View File
@@ -276,7 +276,7 @@ function loadLegacyAdminState() {
return hasAnyEntries(sanitized) ? sanitized : null;
}
export function readCachedAdminState() {
export const readCachedAdminState = () => {
if (typeof localStorage === "undefined") {
return null;
}
@@ -306,9 +306,9 @@ export function readCachedAdminState() {
);
return null;
}
}
};
export function writeCachedAdminState(state) {
export const writeCachedAdminState = (state) => {
if (typeof localStorage === "undefined") {
return;
}
@@ -322,7 +322,7 @@ export function writeCachedAdminState(state) {
error,
);
}
}
};
function clearLegacyStorageFor(listKey) {
if (typeof localStorage === "undefined") {