refactor: remove debounce on dice calculations #210

Merged
ptran merged 3 commits from refactor-remove-debounce into main 2025-05-21 09:32:51 +00:00
Showing only changes of commit f5bae60e0f - Show all commits

View file

@ -42,7 +42,6 @@ export class DiceComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
this.diceForm.valueChanges this.diceForm.valueChanges
.pipe( .pipe(
debounceTime(100),
tap(() => this.calculateWinChanceAndPotentialWin()) tap(() => this.calculateWinChanceAndPotentialWin())
) )
.subscribe(); .subscribe();