Changeset d0ef259 for components/roulette/Ball.jsx
- Timestamp:
- 07/12/22 00:13:20 (2 years ago)
- Branches:
- main
- Children:
- e9f11ac
- Parents:
- 95ce58b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/roulette/Ball.jsx
r95ce58b rd0ef259 5 5 const Ball = () => { 6 6 const playerState = useSelector(state => state.player); 7 const styleState = useSelector(state => state.style);8 7 9 8 return ( 10 9 <> 11 { (playerState.rouletteGame. timeToStart > styleState.roulette.COUNTDOWN_FROM || playerState.rouletteGame.timeToStart <= 0) &&10 { (playerState.rouletteGame.game.timeToStart > playerState.rouletteGame.game.COUNTDOWN_FROM || playerState.rouletteGame.game.timeToStart <= 0) && 12 11 <img id="rouletteBall" src="/images/roulette-ball.png" alt="Roulette ball"/> 13 12 }
Note:
See TracChangeset
for help on using the changeset viewer.