Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wlhunter00 committed Apr 17, 2024
1 parent af99f0a commit 74f0e83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ export const App = () => {
</p>
<Countdown to={new Date('2024-04-18T00:00:00.000Z')} />
<h2>My Jury Duty</h2>
<p>
Delegate your jury duty using the component below.
</p>
<p>Delegate your CTG vote using the button below.</p>
{!isConnected && <ConnectWallet />}
{isConnected && <WalletInfo />}
{isConnected && <PlayerList />}
Expand Down
3 changes: 2 additions & 1 deletion web/src/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ p > a {
}

.text-timer {
@apply flex font-mono gap-0.5 w-fit text-xl;
@apply flex font-mono gap-0.5 w-fit text-6xl;
@apply text-red-500 ;
}

.text-timer > span {
Expand Down
4 changes: 2 additions & 2 deletions web/src/playerlist/PlayerList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export const PlayerList = () => {

return (
<>
<h2>Your Players</h2>
{data && <h2>Your Delegated NFTs</h2>}
<div>
{data &&
data.ownedNfts.map((player) => (
<PlayerEntry tokenId={player.tokenId} />
))}
{data && data.ownedNfts.length === 0 && <p>No players found</p>}
{data && data.ownedNfts.length === 0 && <p>No NFTs found</p>}
</div>
</>
);
Expand Down

0 comments on commit 74f0e83

Please sign in to comment.