fix: invalid env/static/public

This commit is contained in:
James Xylight committed 2025-08-30 21:20:26 -07:00
1 parent e459d87644
commit a537f97ef3
2 files changed
+2 -3

No files matched your search

-1
View File
@@ -28,7 +28,6 @@ function getFromStorage<T>(key: string): T | undefined {
return JSON.parse(lc)
}
// eslint-disable-next-line
function setFromStorage(key: string, item: any, stringify: boolean = true) {
if (typeof localStorage == 'undefined') return
return localStorage.setItem(key, stringify ? JSON.stringify(item) : item)