display higher of base yield & max leverage rate when usdc interest is too high

This commit is contained in:
Maximilian Schneider 2024-02-24 23:24:09 +00:00
parent 670ab9a29d
commit e1b5c19ff3
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const TokenButton = ({
leverage,
)
const UiRate = tokenName == 'USDC' ? stakeBankDepositRate : estimatedNetAPY
const UiRate = tokenName === 'USDC' ? stakeBankDepositRate : Math.max(stakeBankDepositRate, estimatedNetAPY);
return (
<button