ci(release): publish latest release

parent 995bbc89
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ` - CIDv0: `QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ`
- CIDv1: `bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu` - CIDv1: `bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org). The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway. ...@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs. Your Uniswap settings are never remembered across different URLs.
IPFS gateways: IPFS gateways:
- https://bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu.ipfs.dweb.link/ - https://bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74.ipfs.dweb.link/
- https://bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu.ipfs.cf-ipfs.com/ - https://bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74.ipfs.cf-ipfs.com/
- [ipfs://QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ/](ipfs://QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ/) - [ipfs://QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ/](ipfs://QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ/)
### 5.36.1 (2024-06-25) ### 5.36.2 (2024-06-25)
### Bug Fixes ### Bug Fixes
* **web:** ignore GQL errors in SearchTokens query (#9492) 968bc7c * **web:** fix broken link, translation, and importing v2 positions (#… (#9493) 8fc43a8
web/5.36.1 web/5.36.2
\ No newline at end of file \ No newline at end of file
...@@ -102,7 +102,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos ...@@ -102,7 +102,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
<AutoColumn gap="4px"> <AutoColumn gap="4px">
<FixedHeightRow> <FixedHeightRow>
<Text fontSize={16} fontWeight={535}> <Text fontSize={16} fontWeight={535}>
<Trans i18nKey="share.label" /> <Trans i18nKey="pool.share.label" />
</Text> </Text>
<Text fontSize={16} fontWeight={535}> <Text fontSize={16} fontWeight={535}>
{poolTokenPercentage ? poolTokenPercentage.toFixed(6) + '%' : '-'} {poolTokenPercentage ? poolTokenPercentage.toFixed(6) + '%' : '-'}
......
...@@ -12,10 +12,10 @@ import { Dots } from 'components/swap/styled' ...@@ -12,10 +12,10 @@ import { Dots } from 'components/swap/styled'
import { BIG_INT_ZERO } from 'constants/misc' import { BIG_INT_ZERO } from 'constants/misc'
import { useAccount } from 'hooks/useAccount' import { useAccount } from 'hooks/useAccount'
import { useNetworkSupportsV2 } from 'hooks/useNetworkSupportsV2' import { useNetworkSupportsV2 } from 'hooks/useNetworkSupportsV2'
import { useTokenBalances } from 'hooks/useTokenBalances'
import { useV2Pairs } from 'hooks/useV2Pairs' import { useV2Pairs } from 'hooks/useV2Pairs'
import { Trans } from 'i18n' import { Trans } from 'i18n'
import JSBI from 'jsbi' import JSBI from 'jsbi'
import { useRpcTokenBalancesWithLoadingIndicator } from 'lib/hooks/useCurrencyBalance'
import { PoolVersionMenu } from 'pages/Pool/shared' import { PoolVersionMenu } from 'pages/Pool/shared'
import { useMemo } from 'react' import { useMemo } from 'react'
import { ChevronsRight } from 'react-feather' import { ChevronsRight } from 'react-feather'
...@@ -27,7 +27,6 @@ import styled, { useTheme } from 'styled-components' ...@@ -27,7 +27,6 @@ import styled, { useTheme } from 'styled-components'
import { ExternalLink, HideSmall, ThemedText } from 'theme/components' import { ExternalLink, HideSmall, ThemedText } from 'theme/components'
import { ProtocolVersion } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks' import { ProtocolVersion } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
import Trace from 'uniswap/src/features/telemetry/Trace' import Trace from 'uniswap/src/features/telemetry/Trace'
import { currencyKey } from 'utils/currencyKey'
const PageWrapper = styled(AutoColumn)` const PageWrapper = styled(AutoColumn)`
max-width: 640px; max-width: 640px;
...@@ -100,14 +99,17 @@ export default function Pool() { ...@@ -100,14 +99,17 @@ export default function Pool() {
() => trackedTokenPairs.map((tokens) => ({ liquidityToken: toV2LiquidityToken(tokens), tokens })), () => trackedTokenPairs.map((tokens) => ({ liquidityToken: toV2LiquidityToken(tokens), tokens })),
[trackedTokenPairs] [trackedTokenPairs]
) )
const { balanceMap, loading: fetchingV2PairBalances } = useTokenBalances() const [balanceMap, fetchingV2PairBalances] = useRpcTokenBalancesWithLoadingIndicator(
account.address,
tokenPairsWithLiquidityTokens.map(({ liquidityToken }) => liquidityToken),
!account?.address,
)
// fetch the reserves for all V2 pools in which the user has a balance // fetch the reserves for all V2 pools in which the user has a balance
const liquidityTokensWithBalances = useMemo( const liquidityTokensWithBalances = useMemo(
() => () =>
tokenPairsWithLiquidityTokens.filter(({ liquidityToken }) => { tokenPairsWithLiquidityTokens.filter(({ liquidityToken }) => {
const liquidityTokenKey = currencyKey(liquidityToken) return balanceMap[liquidityToken.address]?.greaterThan(0)
return balanceMap[liquidityTokenKey]?.balance > 0
}), }),
[tokenPairsWithLiquidityTokens, balanceMap] [tokenPairsWithLiquidityTokens, balanceMap]
) )
......
...@@ -167,7 +167,7 @@ export default function PoolFinder() { ...@@ -167,7 +167,7 @@ export default function PoolFinder() {
<Text textAlign="center" fontWeight={535}> <Text textAlign="center" fontWeight={535}>
<Trans i18nKey="poolFinder.found" /> <Trans i18nKey="poolFinder.found" />
</Text> </Text>
<StyledInternalLink to="pools/v2"> <StyledInternalLink to="/pools/v2">
<Text textAlign="center"> <Text textAlign="center">
<Trans i18nKey="poolFinder.managePool" /> <Trans i18nKey="poolFinder.managePool" />
</Text> </Text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment