source: components/poker/sections/Pot.jsx@ e007fcd

main
Last change on this file since e007fcd was 3a783f2, checked in by anastasovv <simon@…>, 2 years ago

Finished poker and added ball to roulette

  • Property mode set to 100644
File size: 347 bytes
Line 
1import React from 'react'
2
3import { useSelector } from 'react-redux'
4
5const Pot = () => {
6 const playerState = useSelector(state => state.player);
7
8 return (
9 <div className="pokerPotContainer">
10 { playerState.pokerGame.table.started && <p>${playerState.pokerGame.table.pot}</p> }
11 </div>
12 )
13}
14
15export default Pot
Note: See TracBrowser for help on using the repository browser.