Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Jun 25, 2024
1 parent 995bbc8 commit 68c8f2a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
14 changes: 7 additions & 7 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ`
- CIDv1: `bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu`
- CIDv0: `QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ`
- CIDv1: `bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74`

The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).

Expand All @@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.

IPFS gateways:
- https://bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu.ipfs.dweb.link/
- https://bafybeifab6tsjjcjyzk2swunb5fvpseeyf6kkutzq5lbg2c3u3gvrtobhu.ipfs.cf-ipfs.com/
- [ipfs://QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ/](ipfs://QmZ7TnTwMWzVd9j9TvqoinvdWnR2VscUDN4b6tFhBPBeuJ/)
- https://bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74.ipfs.dweb.link/
- https://bafybeiet3gsfp5g7prg2zjbaj5cwp6r3qok5fcp4rbqjdefjb7qd2bpt74.ipfs.cf-ipfs.com/
- [ipfs://QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ/](ipfs://QmYHo8ByLJhirWoUo4paybfbScgQrh5xahfr737xgdjxwQ/)

### 5.36.1 (2024-06-25)
### 5.36.2 (2024-06-25)


### Bug Fixes

* **web:** ignore GQL errors in SearchTokens query (#9492) 968bc7c
* **web:** fix broken link, translation, and importing v2 positions (#… (#9493) 8fc43a8


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.36.1
web/5.36.2
2 changes: 1 addition & 1 deletion apps/web/src/components/PositionCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function MinimalPositionCard({ pair, showUnwrapped = false, border }: Pos
<AutoColumn gap="4px">
<FixedHeightRow>
<Text fontSize={16} fontWeight={535}>
<Trans i18nKey="share.label" />
<Trans i18nKey="pool.share.label" />
</Text>
<Text fontSize={16} fontWeight={535}>
{poolTokenPercentage ? poolTokenPercentage.toFixed(6) + '%' : '-'}
Expand Down
12 changes: 7 additions & 5 deletions apps/web/src/pages/Pool/v2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import { Dots } from 'components/swap/styled'
import { BIG_INT_ZERO } from 'constants/misc'
import { useAccount } from 'hooks/useAccount'
import { useNetworkSupportsV2 } from 'hooks/useNetworkSupportsV2'
import { useTokenBalances } from 'hooks/useTokenBalances'
import { useV2Pairs } from 'hooks/useV2Pairs'
import { Trans } from 'i18n'
import JSBI from 'jsbi'
import { useRpcTokenBalancesWithLoadingIndicator } from 'lib/hooks/useCurrencyBalance'
import { PoolVersionMenu } from 'pages/Pool/shared'
import { useMemo } from 'react'
import { ChevronsRight } from 'react-feather'
Expand All @@ -27,7 +27,6 @@ import styled, { useTheme } from 'styled-components'
import { ExternalLink, HideSmall, ThemedText } from 'theme/components'
import { ProtocolVersion } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
import Trace from 'uniswap/src/features/telemetry/Trace'
import { currencyKey } from 'utils/currencyKey'

const PageWrapper = styled(AutoColumn)`
max-width: 640px;
Expand Down Expand Up @@ -100,14 +99,17 @@ export default function Pool() {
() => trackedTokenPairs.map((tokens) => ({ liquidityToken: toV2LiquidityToken(tokens), tokens })),
[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
const liquidityTokensWithBalances = useMemo(
() =>
tokenPairsWithLiquidityTokens.filter(({ liquidityToken }) => {
const liquidityTokenKey = currencyKey(liquidityToken)
return balanceMap[liquidityTokenKey]?.balance > 0
return balanceMap[liquidityToken.address]?.greaterThan(0)
}),
[tokenPairsWithLiquidityTokens, balanceMap]
)
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/PoolFinder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default function PoolFinder() {
<Text textAlign="center" fontWeight={535}>
<Trans i18nKey="poolFinder.found" />
</Text>
<StyledInternalLink to="pools/v2">
<StyledInternalLink to="/pools/v2">
<Text textAlign="center">
<Trans i18nKey="poolFinder.managePool" />
</Text>
Expand Down

0 comments on commit 68c8f2a

Please sign in to comment.