Remove balance from your trades page (looks better on mobile, cleaner)
This commit is contained in:
parent
ed789aa4bb
commit
6d3fb8f4ae
|
@ -153,12 +153,6 @@ export function BetsList(props: { user: User }) {
|
||||||
<ProfitBadge profitPercent={investedProfit} />
|
<ProfitBadge profitPercent={investedProfit} />
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col>
|
|
||||||
<div className="text-sm text-gray-500">Balance</div>
|
|
||||||
<div className="whitespace-nowrap text-lg">
|
|
||||||
{formatMoney(Math.floor(user.balance))}{' '}
|
|
||||||
</div>
|
|
||||||
</Col>
|
|
||||||
<Col>
|
<Col>
|
||||||
<div className="text-sm text-gray-500">Total portfolio</div>
|
<div className="text-sm text-gray-500">Total portfolio</div>
|
||||||
<div className="text-lg">
|
<div className="text-lg">
|
||||||
|
@ -228,7 +222,7 @@ function MyContractBets(props: { contract: Contract; bets: Bet[] }) {
|
||||||
/>
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
<Row className="items-center gap-2 text-sm text-gray-500">
|
<Row className="items-center gap-2 text-sm text-gray-500 flex-1">
|
||||||
{isBinary && (
|
{isBinary && (
|
||||||
<>
|
<>
|
||||||
{resolution ? (
|
{resolution ? (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user