Commit 2d7152b2 authored by Chunchi Che's avatar Chunchi Che Committed by WANG HE

sync neos-protobuf and small

parent f592ba4f
Subproject commit 6ab136c4f46e389b67010fc84389042c740a124d Subproject commit d1901b32953c3f334ad377a52d8049dbb0302ad1
...@@ -8,6 +8,7 @@ import "../css/Mora.css"; ...@@ -8,6 +8,7 @@ import "../css/Mora.css";
import { useAppSelector } from "../hook"; import { useAppSelector } from "../hook";
import { selectMoraSelectAble } from "../reducers/moraSlice"; import { selectMoraSelectAble } from "../reducers/moraSlice";
// TODO: 应该展示对手卡组信息和聊天信息
export default function Mora() { export default function Mora() {
const selectAble = useAppSelector(selectMoraSelectAble); const selectAble = useAppSelector(selectMoraSelectAble);
return ( return (
......
...@@ -87,16 +87,15 @@ export default function WaitRoom() { ...@@ -87,16 +87,15 @@ export default function WaitRoom() {
</p> </p>
<p> <p>
<button <button
// disabled={ disabled={
// !( !(
// isHost && isHost &&
// player0.state != undefined && player0.state != undefined &&
// player0.state === READY_STATE && player0.state === READY_STATE &&
// player1.state != undefined && player1.state != undefined &&
// player1.state === READY_STATE player1.state === READY_STATE
// ) )
// } }
disabled={false}
onClick={handleChoseStart} onClick={handleChoseStart}
> >
<Link to={{ pathname: `/mora` }}>start</Link> <Link to={{ pathname: `/mora` }}>start</Link>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment