fixed psa exception

This commit is contained in:
Miodec 2022-02-27 20:13:58 +01:00
parent dd4d5551de
commit 13bf690d44

View file

@ -6,7 +6,7 @@ function clearMemory(): void {
}
function getMemory(): string[] {
return JSON.parse(window.localStorage.getItem("confirmedPSAs") ?? "") ?? [];
return JSON.parse(window.localStorage.getItem("confirmedPSAs") ?? "[]") ?? [];
}
function setMemory(id: string): void {