mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 07:44:01 +08:00
fixed psa exception
This commit is contained in:
parent
dd4d5551de
commit
13bf690d44
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue