function SlotMachine({ balance, onGameEnd }) {
 // Existing code...

 return (
    <div>
      <button
        onClick={spinReels}
        className="my-2 px-4 py-2 bg-[#facc15] rounded"
      >
        Spin
      </button>
      <BalanceDisplay balance={balance} />
      <ul>{reelsDisplay}</ul>
    </div>
 )
}

export default SlotMachine