Skip to content

Commit 0b53174

Browse files
committed
chore: add changeset
1 parent 47047e8 commit 0b53174

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/thin-groups-dig.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@venusprotocol/evm": minor
3+
---
4+
5+
add group logic to E-mode

apps/evm/src/components/Apy/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const Apy: React.FC<ApyProps> = ({ asset, type, className }) => {
4646
});
4747

4848
const isPrimeAsset = !!(primeDistribution || primeSimulationDistribution);
49-
const shouldBeGreyedOut = type === 'borrow' && !asset.isBorrowable;
49+
const shouldBeGreyedOut = type === 'borrow' && !asset.isBorrowableByUser;
5050

5151
let simulatedApyPercentage: BigNumber | undefined;
5252
const isApyBoostedByPrime = primeDistribution && !primeDistribution.apyPercentage.isEqualTo(0);

0 commit comments

Comments
 (0)