diff --git a/src/state/mint/hooks.ts b/src/state/mint/hooks.ts index 010342eb1f..65c52b4c51 100644 --- a/src/state/mint/hooks.ts +++ b/src/state/mint/hooks.ts @@ -206,14 +206,14 @@ export function useDerivedMintInfo( } = useMemo(() => { return { [Bound.LOWER]: - existingPosition?.tickLower && typeof existingPosition.tickLower === 'number' + typeof existingPosition?.tickLower === 'number' ? existingPosition.tickLower : invertPrice ? tryParseTick(token1, token0, feeAmount, rightRangeTypedValue) : tryParseTick(token0, token1, feeAmount, leftRangeTypedValue), [Bound.UPPER]: - existingPosition?.tickUpper && typeof existingPosition.tickUpper === 'number' - ? existingPosition?.tickUpper + typeof existingPosition?.tickUpper === 'number' + ? existingPosition.tickUpper : invertPrice ? tryParseTick(token1, token0, feeAmount, leftRangeTypedValue) : tryParseTick(token0, token1, feeAmount, rightRangeTypedValue),