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 Dec 10, 2024
1 parent 2b2f209 commit 0f3c158
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 10 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: `QmYVkaRHhAZ4CrxfWyaE9qFjTJf5Yz6o25Jm52HtGqRMx8`
- CIDv1: `bafybeiew5g5rztppslnxuxlb5oyx33nmaajfi4jjjnpx57usr4n7z5fgfu`
- CIDv0: `QmemEFGpbyCk7BDVXisJ6TzpqXXoEVpACm1kZxyz5FFGNo`
- CIDv1: `bafybeihua3m55nwz3am7z7j7yeoi35vrnmohvrkyi5gd4obsax72anky3q`

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://bafybeiew5g5rztppslnxuxlb5oyx33nmaajfi4jjjnpx57usr4n7z5fgfu.ipfs.dweb.link/
- https://bafybeiew5g5rztppslnxuxlb5oyx33nmaajfi4jjjnpx57usr4n7z5fgfu.ipfs.cf-ipfs.com/
- [ipfs://QmYVkaRHhAZ4CrxfWyaE9qFjTJf5Yz6o25Jm52HtGqRMx8/](ipfs://QmYVkaRHhAZ4CrxfWyaE9qFjTJf5Yz6o25Jm52HtGqRMx8/)
- https://bafybeihua3m55nwz3am7z7j7yeoi35vrnmohvrkyi5gd4obsax72anky3q.ipfs.dweb.link/
- https://bafybeihua3m55nwz3am7z7j7yeoi35vrnmohvrkyi5gd4obsax72anky3q.ipfs.cf-ipfs.com/
- [ipfs://QmemEFGpbyCk7BDVXisJ6TzpqXXoEVpACm1kZxyz5FFGNo/](ipfs://QmemEFGpbyCk7BDVXisJ6TzpqXXoEVpACm1kZxyz5FFGNo/)

### 5.61.4 (2024-12-10)
### 5.61.5 (2024-12-10)


### Bug Fixes

* **web:** hide un-owned positions (#14449) d5e701f
* **web:** wrap positions in multichain context (#14468) 4a007d9


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.61.4
web/5.61.5
13 changes: 12 additions & 1 deletion apps/web/src/pages/Pool/Positions/PositionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { ChevronRight } from 'react-feather'
import { Navigate, useLocation, useNavigate, useParams } from 'react-router-dom'
import { setOpenModal } from 'state/application/reducer'
import { useAppDispatch } from 'state/hooks'
import { MultichainContextProvider } from 'state/multichain/MultichainContext'
import { usePendingLPTransactionsChangeListener } from 'state/transactions/hooks'
import { ClickableTamaguiStyle } from 'theme/components'
import { Button, Flex, Main, Switch, Text, styled } from 'ui/src'
Expand Down Expand Up @@ -96,7 +97,17 @@ function parseTokenId(tokenId: string | undefined): BigNumber | undefined {
}
}

export default function PositionPage() {
export default function PositionPageWrapper() {
const chainId = useChainIdFromUrlParam()

return (
<MultichainContextProvider initialChainId={chainId}>
<PositionPage />
</MultichainContextProvider>
)
}

function PositionPage() {
const { tokenId: tokenIdFromUrl } = useParams<{ tokenId: string }>()
const tokenId = parseTokenId(tokenIdFromUrl)
const chainId = useChainIdFromUrlParam()
Expand Down
13 changes: 12 additions & 1 deletion apps/web/src/pages/Pool/Positions/V2PositionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { ChevronRight } from 'react-feather'
import { Navigate, useNavigate, useParams } from 'react-router-dom'
import { setOpenModal } from 'state/application/reducer'
import { useAppDispatch } from 'state/hooks'
import { MultichainContextProvider } from 'state/multichain/MultichainContext'
import { usePendingLPTransactionsChangeListener } from 'state/transactions/hooks'
import { Button, Circle, Flex, Main, Shine, Text, styled } from 'ui/src'
import { useGetPositionQuery } from 'uniswap/src/data/rest/getPosition'
Expand Down Expand Up @@ -61,7 +62,17 @@ function RowLoader({ withIcon }: { withIcon?: boolean }) {
)
}

export default function V2PositionPage() {
export default function V2PositionPageWrapper() {
const chainId = useChainIdFromUrlParam()

return (
<MultichainContextProvider initialChainId={chainId}>
<V2PositionPage />
</MultichainContextProvider>
)
}

function V2PositionPage() {
const { pairAddress } = useParams<{ pairAddress: string }>()
const chainId = useChainIdFromUrlParam()
const account = useAccount()
Expand Down

0 comments on commit 0f3c158

Please sign in to comment.