Skip to content

Commit

Permalink
adjust player display
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanDuvall committed Jun 7, 2024
1 parent a0a2573 commit cdace0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Lobby/Lobby.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ function Lobby({ players }: Props) {
console.log(error);
}
};

const playerNames = playerList.map((player: Player) => {
return <p key={player.id}>{player.attributes.display_name}</p>;
// i have to make a new interface for this
//@ts-expect-error
const playerNames = playerList.map((player) => {
return <p key={player.id}>{player.display_name}</p>;
});

const copyURL = () => {
Expand Down

0 comments on commit cdace0b

Please sign in to comment.