import React from 'react' import { useSelector } from 'react-redux' const PlayersDisplay = () => { const playerState = useSelector(state => state.player); // See results. if (playerState.rouletteGame.game.timeToStart > playerState.rouletteGame.game.COUNTDOWN_FROM) { return (
Winners:
{player.name} [{player.whichBets.toString()}]
: ))}Losers:
{player.name} [{player.whichBets.toString()}]
: ))}Online:
{player.name}
: ))}Betted:
{player.name} [{player.whichBets.toString()}]
: ))}