Commit 2bc2a2c7 authored by Justin Domingue's avatar Justin Domingue Committed by GitHub

compare with undefined rather than falsy (#2027)

parent 28bf9512
...@@ -71,7 +71,7 @@ export function usePoolActiveLiquidity( ...@@ -71,7 +71,7 @@ export function usePoolActiveLiquidity(
if ( if (
!currencyA || !currencyA ||
!currencyB || !currencyB ||
!activeTick || activeTick === undefined ||
pool[0] !== PoolState.EXISTS || pool[0] !== PoolState.EXISTS ||
!ticks || !ticks ||
ticks.length === 0 || ticks.length === 0 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment