Remove balance from your trades page (looks better on mobile, cleaner)

This commit is contained in:
James Grugett 2022-02-21 12:55:24 -06:00
parent ed789aa4bb
commit 6d3fb8f4ae

View File

@ -153,12 +153,6 @@ export function BetsList(props: { user: User }) {
<ProfitBadge profitPercent={investedProfit} />
</div>
</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>
<div className="text-sm text-gray-500">Total portfolio</div>
<div className="text-lg">
@ -228,7 +222,7 @@ function MyContractBets(props: { contract: Contract; bets: Bet[] }) {
/>
</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 && (
<>
{resolution ? (