interface CommitProps { playMove: string; setPlayMove: (v: string) => void; handlePlay: () => void; loading: boolean; account: string; contract: any; bothPlayed: string; handleBothPlayed: () => void; revealTimeLeft: string; handleRevealTimeLeft: () => void; } export default function Commit({ playMove, setPlayMove, handlePlay, loading, account, contract, bothPlayed, handleBothPlayed, revealTimeLeft, handleRevealTimeLeft, }: Readonly) { return (

play(bytes32 encrMove)

setPlayMove(e.target.value)} className="border px-2 py-1 mr-2 rounded" />
{bothPlayed}
{revealTimeLeft}
); }