diff --git a/src/components/Lobby/Lobby.tsx b/src/components/Lobby/Lobby.tsx index e41cbe6..d9f73e8 100644 --- a/src/components/Lobby/Lobby.tsx +++ b/src/components/Lobby/Lobby.tsx @@ -55,9 +55,10 @@ function Lobby({ players }: Props) { console.log(error); } }; - - const playerNames = playerList.map((player: Player) => { - return

{player.attributes.display_name}

; + // i have to make a new interface for this +//@ts-expect-error + const playerNames = playerList.map((player) => { + return

{player.display_name}

; }); const copyURL = () => {