Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
compare with undefined rather than falsy (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Domingue authored Jul 12, 2021
1 parent 28bf951 commit 2bc2a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/usePoolTickData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function usePoolActiveLiquidity(
if (
!currencyA ||
!currencyB ||
!activeTick ||
activeTick === undefined ||
pool[0] !== PoolState.EXISTS ||
!ticks ||
ticks.length === 0 ||
Expand Down

0 comments on commit 2bc2a2c

Please sign in to comment.