render current player in secondary color
This commit is contained in:
parent
fbaad86555
commit
c4c4eb6358
13 changed files with 255 additions and 72 deletions
|
|
@ -41,7 +41,7 @@ export default function App() {
|
|||
{nameId.name !== '' &&
|
||||
<Button onClick={() => setNameId(getNewNameId)} text='logout'/>}
|
||||
</Row>
|
||||
<ClientScreen logout={logout} theme={theme}/>
|
||||
<ClientScreen logout={logout} theme={theme} playerId={nameId.id}/>
|
||||
{nameId.name === '' && <JoinForm setNameId={setNameId} clientId={nameId.id}/>}
|
||||
<Row className='GadgetRows'>
|
||||
{isLoggedIn && <Controls playerId={nameId.id} logout={logout}/>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue