Skip to content

Commit 6c87bcf

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 599b80a + ee6d46d commit 6c87bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/game-component/game.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export class GameComponent implements OnInit {
183183
// first schema (no version number): map<string, {<day>: {code: string}[]}
184184
d = mapRecordValues<string, {code: string}[], SaveData>(data, (d, k) => ({
185185
card: this.getCardForSeed(k).code,
186-
guesses: d.map(c => c.code)
186+
guesses: d?.map(c => c.code) ?? []
187187
}));
188188
break;
189189
}

0 commit comments

Comments
 (0)