Skip to content

Commit f48648e

Browse files
committed
chore: deal with possibly 0 vs undefined feedback
1 parent 8389d73 commit f48648e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/UI/Perps/utils/marketDataTransform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function transformMarketData(
202202
// Calculate open interest in USD
203203
const openInterest = calculateOpenInterestUSD(
204204
assetCtx?.openInterest,
205-
effectiveCurrentPrice,
205+
currentPrice,
206206
);
207207

208208
// Get current funding rate from assetCtx - this is the actual current funding rate

0 commit comments

Comments
 (0)