Skip to content

Commit

Permalink
#LobbyDesign
Browse files Browse the repository at this point in the history
- Cleaned a bug.
  • Loading branch information
CheBato committed Dec 17, 2024
1 parent 82d9c8c commit 157ae31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/_components/Gameboard/Board/Board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { IBoardProps } from "@/app/_components/Gameboard/GameboardTypes";
import {useGame} from "@/app/_contexts/Game.context";
import LeaderBaseCard from "@/app/_components/_sharedcomponents/Cards/LeaderBaseCard/LeaderBaseCard";
import { Box } from "@mui/material";
import CardActionTray from "@/app/_components/Gameboard/_subcomponents/PlayerTray/CardActionTray";

const Board: React.FC<IBoardProps> = ({
sidebarOpen,
Expand Down Expand Up @@ -67,6 +68,7 @@ const Board: React.FC<IBoardProps> = ({
</Box>
</Grid>
</Grid>
<CardActionTray />
<Grid sx={rowStyle}>
<Grid container direction="column" sx={containerStyle}>
<Box sx={lobbyLeaderBaseContainer}>
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/Lobby/Deck/Deck.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const Deck: React.FC = () => {
key={card.card.uuid}
card={card}
variant={'lobby'}
onClick={() => updateDeck(['SideBoard', card.card.uuid])}
onClick={() => updateDeck(['SideBoard', card.card.id])}
/>
))}
</Box>
Expand Down

0 comments on commit 157ae31

Please sign in to comment.