compare with undefined rather than falsy (#2027)
This commit is contained in:
parent
28bf95123e
commit
2bc2a2c76e
@ -71,7 +71,7 @@ export function usePoolActiveLiquidity(
|
||||
if (
|
||||
!currencyA ||
|
||||
!currencyB ||
|
||||
!activeTick ||
|
||||
activeTick === undefined ||
|
||||
pool[0] !== PoolState.EXISTS ||
|
||||
!ticks ||
|
||||
ticks.length === 0 ||
|
||||
|
Loading…
Reference in New Issue
Block a user