import React from 'react' import { useSelector } from 'react-redux'; const CoinOnTable = () => { const styleState = useSelector(state => state.style); return ( <> {styleState.roulette.showCoin && Gold coin} ) } export default CoinOnTable