main
Last change
on this file since 433e0c5 was b13f93b, checked in by anastasovv <simon@…>, 2 years ago |
Made poker tables system and round 1
|
-
Property mode
set to
100644
|
File size:
463 bytes
|
Line | |
---|
1 | import React from 'react'
|
---|
2 |
|
---|
3 | import { useSelector } from 'react-redux'
|
---|
4 | import FreeflowCard from '../../FreeflowCard';
|
---|
5 |
|
---|
6 | const CardsInTheMiddle = () => {
|
---|
7 | const playerState = useSelector(state => state.player);
|
---|
8 |
|
---|
9 | return (
|
---|
10 | <div className='cardsInTheMiddleContainer'>
|
---|
11 | {playerState?.pokerGame?.table.cards?.map((card, i) => (
|
---|
12 | <FreeflowCard key={card + i} card={card}/>
|
---|
13 | ))}
|
---|
14 | </div>
|
---|
15 | )
|
---|
16 | }
|
---|
17 |
|
---|
18 | export default CardsInTheMiddle |
---|
Note:
See
TracBrowser
for help on using the repository browser.