source: components/poker/sections/CardsInTheMiddle.jsx@ aac3b2b

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