Revert "Stop flooring inputs into formatMoney"
This reverts commit 2f7ab18429
.
This commit is contained in:
parent
2f7ab18429
commit
87a33933e4
|
@ -79,7 +79,7 @@ export function AmountInput(props: {
|
|||
Remaining balance
|
||||
</div>
|
||||
<Row className="gap-4">
|
||||
<div>{formatMoney(remainingBalance)}</div>
|
||||
<div>{formatMoney(Math.floor(remainingBalance))}</div>
|
||||
{user.balance !== 1000 && <AddFundsButton />}
|
||||
</Row>
|
||||
</Col>
|
||||
|
|
|
@ -87,7 +87,7 @@ function ProfileSummary(props: { user: User | undefined }) {
|
|||
<div className="truncate text-left sm:w-32">
|
||||
<div className="hidden sm:flex">{user?.name}</div>
|
||||
<div className="text-sm text-gray-700">
|
||||
{user ? formatMoney(user.balance) : ' '}
|
||||
{user ? formatMoney(Math.floor(user.balance)) : ' '}
|
||||
</div>
|
||||
</div>
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user