Skip to content

Commit

Permalink
Fixed eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
predatorray committed Nov 22, 2024
1 parent 633e5c1 commit e713e62
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ import CardImage from "./components/CardImage";
import ChipImage from "./components/ChipImage";
import ActionButton from "./components/ActionButton";
import useTexasHoldem from "./lib/texas-holdem/useTexasHoldem";
import useChatRoom from "./lib/useChatRoom";
import {Board, Hole} from "./lib/rules";
import {HostId} from "./lib/setup";
import {WinningResult} from "./lib/texas-holdem/TexasHoldemGameRoom";
import {rankDescription} from "phe";
import useEventLogs from "./lib/texas-holdem/useEventLogs";
import PlayerAvatar from "./components/PlayerAvatar";

function RoomLink(props: {
Expand Down Expand Up @@ -186,7 +184,6 @@ function BetAmount(props: {

export default function App() {
const {
peerState,
playerId,
players,
round,
Expand All @@ -195,19 +192,13 @@ export default function App() {
holesPerPlayer,
board,
whoseTurnAndCallAmount,
smallBlind,
bigBlind,
startGame,
bankrolls,
potAmount,
myBetAmount,
lastWinningResult,
actionsDone,
actions,
} = useTexasHoldem();
const messages = useChatRoom();
const eventLogs = useEventLogs();

return (
<div className="App">
{ playerId && <RoomLink playerId={playerId}/> }
Expand Down

0 comments on commit e713e62

Please sign in to comment.