fix localstorage-i blame bill for my fuckup

This commit is contained in:
dank074 2023-06-17 22:18:38 -05:00
parent aba4ddf2db
commit cc6382bf0a

View File

@ -2,7 +2,7 @@ export const GetLocalStorage = <T>(key: string) =>
{ {
try try
{ {
JSON.parse(window.localStorage.getItem(key)) as T ?? null return JSON.parse(window.localStorage.getItem(key)) as T ?? null
} }
catch(e) catch(e)
{ {