compare with undefined rather than falsy (#2027)

This commit is contained in:
Justin Domingue 2021-07-12 16:13:45 -07:00 committed by GitHub
parent 28bf95123e
commit 2bc2a2c76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,7 +71,7 @@ export function usePoolActiveLiquidity(
if (
!currencyA ||
!currencyB ||
!activeTick ||
activeTick === undefined ||
pool[0] !== PoolState.EXISTS ||
!ticks ||
ticks.length === 0 ||