fix: invalid env/static/public
This commit is contained in:
2 files changed
+2
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user