fix localstorage-i blame bill for my fuckup
This commit is contained in:
parent
aba4ddf2db
commit
cc6382bf0a
|
@ -2,7 +2,7 @@ export const GetLocalStorage = <T>(key: string) =>
|
|||
{
|
||||
try
|
||||
{
|
||||
JSON.parse(window.localStorage.getItem(key)) as T ?? null
|
||||
return JSON.parse(window.localStorage.getItem(key)) as T ?? null
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue