Spaces:
Build error
Build error
function RouletteGame({ balance, onGameEnd }) { | |
// Existing code... | |
return ( | |
<div> | |
<button | |
onClick={spinRoulette} | |
className="my-2 px-4 py-2 bg-[#facc15] rounded" | |
> | |
Spin | |
</button> | |
<BalanceDisplay balance={balance} /> | |
<p>Last Spin Result: {spinResult}</p> | |
</div> | |
) | |
} | |
export default RouletteGame |