remove parantheses from balance text

This commit is contained in:
mantikoros 2022-09-05 16:59:35 -05:00
parent 97e0a78806
commit 30d73d6362
3 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ export function AnswerBetPanel(props: {
</Row>
<Row className="my-3 justify-between text-left text-sm text-gray-500">
Amount
<span>(balance: {formatMoney(user?.balance ?? 0)})</span>
<span>Balance: {formatMoney(user?.balance ?? 0)}</span>
</Row>
<BuyAmountInput
inputClassName="w-full max-w-none"

View File

@ -152,7 +152,7 @@ export function CreateAnswerPanel(props: { contract: FreeResponseContract }) {
<Row className="my-3 justify-between text-left text-sm text-gray-500">
Bet Amount
<span className={'sm:hidden'}>
(balance: {formatMoney(user?.balance ?? 0)})
Balance: {formatMoney(user?.balance ?? 0)}
</span>
</Row>{' '}
<BuyAmountInput

View File

@ -310,7 +310,7 @@ function BuyPanel(props: {
<Row className="my-3 justify-between text-left text-sm text-gray-500">
Amount
<span className={'xl:hidden'}>
(balance: {formatMoney(user?.balance ?? 0)})
Balance: {formatMoney(user?.balance ?? 0)}
</span>
</Row>
<BuyAmountInput
@ -606,7 +606,7 @@ function LimitOrderPanel(props: {
Max amount<span className="ml-1 text-red-500">*</span>
</span>
<span className={'xl:hidden'}>
(balance: {formatMoney(user?.balance ?? 0)})
Balance: {formatMoney(user?.balance ?? 0)}
</span>
</Row>
<BuyAmountInput