Reorder orderbook columns

This commit is contained in:
James Grugett 2022-07-19 14:53:33 -05:00
parent 61cbb07bd5
commit 74760b1062

View File

@ -78,8 +78,8 @@ export function LimitOrderTable(props: {
<thead> <thead>
{!isYou && <th></th>} {!isYou && <th></th>}
<th>Outcome</th> <th>Outcome</th>
<th>Amount</th>
<th>{isPseudoNumeric ? 'Value' : 'Prob'}</th> <th>{isPseudoNumeric ? 'Value' : 'Prob'}</th>
<th>Amount</th>
{isYou && <th></th>} {isYou && <th></th>}
</thead> </thead>
<tbody> <tbody>
@ -129,12 +129,12 @@ function LimitBet(props: {
)} )}
</div> </div>
</td> </td>
<td>{formatMoney(orderAmount - amount)}</td>
<td> <td>
{isPseudoNumeric {isPseudoNumeric
? getFormattedMappedValue(contract)(limitProb) ? getFormattedMappedValue(contract)(limitProb)
: formatPercent(limitProb)} : formatPercent(limitProb)}
</td> </td>
<td>{formatMoney(orderAmount - amount)}</td>
{isYou && ( {isYou && (
<td> <td>
{isCancelling ? ( {isCancelling ? (