display higher of base yield & max leverage rate when usdc interest is too high
This commit is contained in:
parent
670ab9a29d
commit
e1b5c19ff3
|
@ -19,7 +19,7 @@ const TokenButton = ({
|
|||
leverage,
|
||||
)
|
||||
|
||||
const UiRate = tokenName == 'USDC' ? stakeBankDepositRate : estimatedNetAPY
|
||||
const UiRate = tokenName === 'USDC' ? stakeBankDepositRate : Math.max(stakeBankDepositRate, estimatedNetAPY);
|
||||
|
||||
return (
|
||||
<button
|
||||
|
|
Loading…
Reference in New Issue