From f5bae60e0ffcf479f76f94aaa4a62f7e70cd5470 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 21 May 2025 11:24:13 +0200
Subject: [PATCH] refactor: remove debounce on dice calculations
---
frontend/src/app/feature/game/dice/dice.component.ts | 1 -
1 file changed, 1 deletion(-)
diff --git a/frontend/src/app/feature/game/dice/dice.component.ts b/frontend/src/app/feature/game/dice/dice.component.ts
index 61cc1e4..08119fb 100644
--- a/frontend/src/app/feature/game/dice/dice.component.ts
+++ b/frontend/src/app/feature/game/dice/dice.component.ts
@@ -42,7 +42,6 @@ export class DiceComponent implements OnInit {
ngOnInit(): void {
this.diceForm.valueChanges
.pipe(
- debounceTime(100),
tap(() => this.calculateWinChanceAndPotentialWin())
)
.subscribe();