Skip to content

Commit

Permalink
fix: player bust text
Browse files Browse the repository at this point in the history
fixes: #20
  • Loading branch information
devklick committed Jul 8, 2023
1 parent 45be15c commit ac78895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Table/hooks/useGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function useGame() {
let timeout: NodeJS.Timeout | undefined;

if (dealer.bust) {
setResult("Dealer bust, dealer wins!", "Player");
setResult("Dealer bust, player wins!", "Player");
} else if (dealer.fiveCardTrick) {
setResult("Dealer wins with a five card trick!", "Dealer");
}
Expand Down

0 comments on commit ac78895

Please sign in to comment.