X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=tictactoe%2Ftictactoe.jsx;h=f5951f1ff26a4bb738dd26a13c74f13feed08ccf;hp=a7614bcaf56168424da88827830cfbbea54be6c9;hb=1809f95530cf644d89b33ac30c2c574ecd9365bd;hpb=79ef861f4341e20501e9c540f9ed9c81ba52204b diff --git a/tictactoe/tictactoe.jsx b/tictactoe/tictactoe.jsx index a7614bc..f5951f1 100644 --- a/tictactoe/tictactoe.jsx +++ b/tictactoe/tictactoe.jsx @@ -90,7 +90,8 @@ function PlayerInfo(props) { return (

Player

- {props.name}, ID: {props.id}, on team: {props.team} + {props.name}, ID: {props.id}, + {props.team ? ` on team ${props.team}` : " not on a team"}
); }