@@ -386,20 +423,20 @@ export const LiquidityPriceRangeInfoPanel = ({
data={{
liquidityPriceRange: `${liquidityPriceRange} of mid price`,
lowestPrice:
- market.data?.midPrice &&
+ data?.midPrice &&
`${addDecimalsFormatNumber(
new BigNumber(1)
.minus(market.lpPriceRange)
- .times(market.data.midPrice)
+ .times(data.midPrice)
.toString(),
market.decimalPlaces
)} ${quoteUnit}`,
highestPrice:
- market.data?.midPrice &&
+ data?.midPrice &&
`${addDecimalsFormatNumber(
new BigNumber(1)
.plus(market.lpPriceRange)
- .times(market.data.midPrice)
+ .times(data.midPrice)
.toString(),
market.decimalPlaces
)} ${quoteUnit}`,
@@ -418,7 +455,15 @@ export const OracleInfoPanel = ({
const { VEGA_EXPLORER_URL, ORACLE_PROOFS_URL } = useEnvironment();
const { data } = useOracleProofs(ORACLE_PROOFS_URL);
return (
-