Skip to content

Commit a79b136

Browse files
authored
docs(signals): fix variable name in computation function example (#5143)
1 parent 642b4b9 commit a79b136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/www/src/app/pages/guide/signals/rxjs-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class Numbers {
117117
this.logSum(() => ({ a: num1(), b: num2() }));
118118
// console output: 30
119119

120-
setTimeout(() => b.set(30), 3_000);
120+
setTimeout(() => num1.set(30), 3_000);
121121
// console output after 3 seconds: 50
122122
}
123123
}

0 commit comments

Comments
 (0)