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