Small changes 1
This commit is contained in:
1 parent
7ad7c4bd57
commit
381313f91f
13 files changed
+22
-15
No files matched your search
@@ -5,7 +5,7 @@ export function setPlayerAnswers(answers: string[]) {
|
||||
window.dispatchEvent(new Event('storage'));
|
||||
}
|
||||
|
||||
export function getAnswers(): Player[] {
|
||||
export function getAnswers(): string[] {
|
||||
const answers = localStorage.getItem(PREF.worthyWords);
|
||||
if (answers === null) {
|
||||
return [];
|
||||
|
||||
Reference in new issue
Block a user