fix: Restore myBetPlaced variable that was incorrectly removed
Some checks failed
Deploy to Production / test (push) Failing after 34s

- Re-added myBetPlaced variable which is used for betting phase UI rendering
This commit is contained in:
syntaxbullet
2026-04-06 14:44:24 +02:00
parent cd9e1e7242
commit f09cbe6939

View File

@@ -398,6 +398,7 @@ export function BlackjackGame({ state, myPlayerId, isSpectator, onAction, player
}, [players]);
const mySeat = view.seats[myPlayerId];
const myBetPlaced = mySeat?.hasBet ?? false;
// Determine who can sit (spectators during betting phase)
const canSitDown = isSpectator && isBetting && view.turnOrder.length < 6;