main
Last change
on this file 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 | |
---|
1 | import React from 'react'
|
---|
2 |
|
---|
3 | import { useSelector } from 'react-redux'
|
---|
4 |
|
---|
5 | const 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 |
|
---|
15 | export default Pot |
---|
Note:
See
TracBrowser
for help on using the repository browser.