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
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{