diff --git a/src/index.css b/src/index.css index 35f15a0..e0b1f85 100644 --- a/src/index.css +++ b/src/index.css @@ -11,3 +11,14 @@ h1 { margin-top: 0; text-align: center; } +@keyframes fade { + from { + opacity: 1.0; + } + 50% { + opacity: 0.5; + } + to { + opacity: 1.0; + } +} diff --git a/src/pages/Room/GamingRoom/Operation.jsx b/src/pages/Room/GamingRoom/Operation.jsx index ed1ce82..9ac0186 100644 --- a/src/pages/Room/GamingRoom/Operation.jsx +++ b/src/pages/Room/GamingRoom/Operation.jsx @@ -4,7 +4,7 @@ import PokerList from '../../../components/PokerList'; import { sendData } from '../../../utils/websocket'; const Operation = (props) => { - const { game, seat } = props; + const { game, room, seat } = props; const [selectedCards, setSelectedCards] = useImmer([]); const [disabled, setDisabled] = useState(false); const handleClick = (handler) => () => { @@ -24,26 +24,26 @@ const Operation = (props) => {