Skip to content

Commit

Permalink
test: update test snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jun 6, 2024
1 parent f42d015 commit 81b1a32
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 92 deletions.
4 changes: 2 additions & 2 deletions src/pages/InterProtocol.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export function InterProtocol() {

const collateralInUsd =
((Number(node?.totalCollateral) / tokenDivisor) *
Number(oraclePrices[node?.liquidatingCollateralBrand]?.typeOutAmount)) /
Number(oraclePrices[node?.liquidatingCollateralBrand]?.typeInAmount);
Number(oraclePrices[node?.liquidatingCollateralBrand]?.typeOutAmount) || 1) /
Number(oraclePrices[node?.liquidatingCollateralBrand]?.typeInAmount || 1);
return agg + collateralInUsd;
}, 0);

Expand Down
Loading

0 comments on commit 81b1a32

Please sign in to comment.