We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b34d3 commit 4aacd78Copy full SHA for 4aacd78
src/modules/dashboard/DashboardTopPanel.tsx
@@ -143,7 +143,7 @@ export const DashboardTopPanel = () => {
143
// Aggregate total claimable rewards (base + merit)
144
const claimableRewardsUsd = baseClaimableRewardsUsd + meritRewardsUsd;
145
const loanToValue =
146
- user?.totalCollateralMarketReferenceCurrency === '0'
+ userState?.totalCollateralBase === '0'
147
? '0'
148
: valueToBigNumber(userState?.totalDebtBase || '0')
149
.dividedBy(userState?.totalCollateralBase || '1')
0 commit comments