Skip to content

Commit

Permalink
hect-to-kilo-on-round-end
Browse files Browse the repository at this point in the history
  • Loading branch information
JHLincoln committed Oct 23, 2024
1 parent 872db95 commit 50a3f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions frontend/src/pages/LobbyHost.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export function LobbyHost({ gameRoom, players }) {
<div className="full-page">
<Header/>
<Card>
<h1 data-testid="game-name" className="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
Poké Poké Guess Weight!
</h1>
<ListPlayers players={players} isLobby={true}/>
<br />
<Button handleClick={handleClick} buttonText="Start Game" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/RoundEnd.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function RoundEnd({
<p data-testid="number-reveal">
<b>{pokemon.name}</b>&apos;s weight is
</p>
<h2 className="text-5xl">{pokemon.weight}</h2>
<h2 className="text-5xl">{(pokemon.weight)/10}</h2>
<h2 className="font-bold">Kilograms</h2>
</div>
<div className="flex justify-center">
Expand Down

0 comments on commit 50a3f6d

Please sign in to comment.