Add headers to limit orders table

This commit is contained in:
James Grugett 2022-07-13 14:59:49 -05:00
parent 87b669e358
commit 9075a6f33a

View File

@ -76,6 +76,13 @@ function LimitOrderTable(props: {
return ( return (
<table className="table-compact table w-full rounded text-gray-500"> <table className="table-compact table w-full rounded text-gray-500">
<thead>
{!isYou && <th>User</th>}
<th>Outcome</th>
<th>Amount</th>
<th>Prob</th>
{isYou && <th></th>}
</thead>
<tbody> <tbody>
{limitBets.map((bet) => ( {limitBets.map((bet) => (
<LimitBet key={bet.id} bet={bet} contract={contract} isYou={isYou} /> <LimitBet key={bet.id} bet={bet} contract={contract} isYou={isYou} />