diff --git a/src/components/swap/SwapChart/index.tsx b/src/components/swap/SwapChart/index.tsx index 54b1cc1..3a9f9af 100644 --- a/src/components/swap/SwapChart/index.tsx +++ b/src/components/swap/SwapChart/index.tsx @@ -300,7 +300,7 @@ const SwapChart = () => { })) }, [currencies.INPUT, currencies.OUTPUT, chartPair]) - if (!isPoolExists && !poolAddress || JSBI.equal(mintInfo.pool?.liquidity as JSBI, ZERO)) return null; + if (!isPoolExists && !poolAddress || (mintInfo.pool && JSBI.equal(mintInfo.pool.liquidity, ZERO))) return null; return (