Add headers to limit orders table
This commit is contained in:
parent
87b669e358
commit
9075a6f33a
|
@ -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} />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user