Skip to content

Commit

Permalink
Update packages/examples/src/scripts/countdown.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Romann <[email protected]>
  • Loading branch information
danielpeintner and JKRhb authored Aug 2, 2023
1 parent 8784743 commit 845f757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/examples/src/scripts/countdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ WoT.produce({
const listToDelete: string[] = [];
for (const id of countdowns.keys()) {
const as = countdowns.get(id);
if (as !== undefined && as.output !== undefined) {
if (as?.output !== undefined) {
const prev = as.output;
as.output--;
console.log("\t" + id + ", from " + prev + " to " + as.output);
Expand Down

0 comments on commit 845f757

Please sign in to comment.