Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovisser committed Mar 22, 2024
1 parent a596512 commit 2ff5bc8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions centrifuge-app/src/pages/Loan/FinanceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,8 @@ function WithdrawSelect({ withdrawAddresses }: { withdrawAddresses: WithdrawAddr
}

function Mux({
amount,
withdrawAddressesByDomain,
withdrawAmounts,
total,
}: {
amount: Decimal
total: Decimal
Expand All @@ -250,7 +248,11 @@ function Mux({
<Text variant="label2">Address</Text>
<Text variant="label2">Network</Text>
</GridRow>
{!withdrawAmounts.length && <Text>No suitable withdraw addresses</Text>}
{!withdrawAmounts.length && (
<Text variant="body3" color="statusCritical">
No suitable withdraw addresses
</Text>
)}
{withdrawAmounts.map(({ currency, amount, locationKey }) => {
const address = withdrawAddressesByDomain[locationKey][0]
return (
Expand Down

0 comments on commit 2ff5bc8

Please sign in to comment.