refactor: remove debounce on dice calculations #210
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Reference in a new issue