File tree Expand file tree Collapse file tree
apps/web/src/components/Liquidity Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11IPFS hash of the deployment:
2- - CIDv0: `QmajgbENHZJSQcVRdzEkjLcAzAZHrFtRwBFjfrxk6RhyHx `
3- - CIDv1: `bafybeifygk5kmj3fp6sci7nyu5o5igt4el36nne6rejnrlhhbghrpazs24 `
2+ - CIDv0: `QmfDggPYiK8hRXPbXZxizbQkCwM1d6VhmHPWEKtdbqkNha `
3+ - CIDv1: `bafybeih2zxlqwxygr5u2a3bish62sya7mdra6swej72uwgxn5ozwv5autu `
44
55The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66
@@ -10,5 +10,5 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010Your Uniswap settings are never remembered across different URLs.
1111
1212IPFS gateways:
13- - https://bafybeifygk5kmj3fp6sci7nyu5o5igt4el36nne6rejnrlhhbghrpazs24 .ipfs.dweb.link/
14- - [ipfs://QmajgbENHZJSQcVRdzEkjLcAzAZHrFtRwBFjfrxk6RhyHx /](ipfs://QmajgbENHZJSQcVRdzEkjLcAzAZHrFtRwBFjfrxk6RhyHx /)
13+ - https://bafybeih2zxlqwxygr5u2a3bish62sya7mdra6swej72uwgxn5ozwv5autu .ipfs.dweb.link/
14+ - [ipfs://QmfDggPYiK8hRXPbXZxizbQkCwM1d6VhmHPWEKtdbqkNha /](ipfs://QmfDggPYiK8hRXPbXZxizbQkCwM1d6VhmHPWEKtdbqkNha /)
Original file line number Diff line number Diff line change 1- web/5.140.0
1+ web/5.140.1
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { NetworkLogo } from 'uniswap/src/components/CurrencyLogo/NetworkLogo'
1111import { TokenLogo } from 'uniswap/src/components/CurrencyLogo/TokenLogo'
1212import { GetHelpHeader } from 'uniswap/src/components/dialog/GetHelpHeader'
1313import { Modal } from 'uniswap/src/components/modals/Modal'
14- import { DEFAULT_TICK_SPACING } from 'uniswap/src/constants/pools'
1514import { useLocalizationContext } from 'uniswap/src/features/language/LocalizationContext'
1615import { useGetPasskeyAuthStatus } from 'uniswap/src/features/passkey/hooks/useGetPasskeyAuthStatus'
1716import { ModalNameType } from 'uniswap/src/features/telemetry/constants'
@@ -141,8 +140,13 @@ export function ReviewModal({
141140 const { baseCurrency, quoteCurrency } = getBaseAndQuoteCurrencies ( currencies . sdk , priceInverted )
142141
143142 const ticksAtLimit = useMemo ( ( ) => {
143+ // V2 pools return 0 tick spacing because every V2 position is full range
144+ if ( ! fee ?. tickSpacing ) {
145+ return [ false , false ]
146+ }
147+
144148 return getTicksAtLimit ( {
145- tickSpacing : fee ? .tickSpacing ?? DEFAULT_TICK_SPACING ,
149+ tickSpacing : fee . tickSpacing ,
146150 lowerTick : minTick ,
147151 upperTick : maxTick ,
148152 fullRange,
You can’t perform that action at this time.
0 commit comments