diff --git a/libs/market-depth/src/lib/orderbook.tsx b/libs/market-depth/src/lib/orderbook.tsx index 855b53212..da074d87f 100644 --- a/libs/market-depth/src/lib/orderbook.tsx +++ b/libs/market-depth/src/lib/orderbook.tsx @@ -334,7 +334,7 @@ export const Orderbook = ({ BigInt(maxPriceLevel) - BigInt(offsetTop) * BigInt(resolution) ).toString() - : rows?.[Math.min(offsetTop, rows.length - 1)].price.toString(); + : rows?.[Math.min(offsetTop, rows.length - 1)].price?.toString(); if (lockOnMidPrice) { setLockOnMidPrice(false); }