Skip to content

Commit

Permalink
fix: labels
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomariscal committed Jun 27, 2023
1 parent 40c8bb3 commit e4bcb30
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,17 @@ const LiquityAdjust = ({
title="Breakdown"
data={[
['New Collateralization Ratio', 'something'],
['Borrow LUSD', validLiquityParams?.borrowLUSD],
['Repay LUSD', validLiquityParams?.repayLUSD],
['Deposit ETH', validLiquityParams?.depositCollateral],
['Withdraw ETH', validLiquityParams?.withdrawCollateral],
]}
validLiquityParams?.borrowLUSD && ['Borrow LUSD', validLiquityParams?.borrowLUSD],
validLiquityParams?.repayLUSD && ['Repay LUSD', validLiquityParams?.repayLUSD],
validLiquityParams?.depositCollateral && [
'Deposit ETH',
validLiquityParams?.depositCollateral,
],
validLiquityParams?.withdrawCollateral && [
'Withdraw ETH',
validLiquityParams?.withdrawCollateral,
],
].filter(Boolean)}
collapsible
/>
<ActionResponse
Expand Down

0 comments on commit e4bcb30

Please sign in to comment.