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 Jan 13, 2025
1 parent 26cd89c commit e8cdfff
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 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: `QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV`
- CIDv1: `bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy`
- CIDv0: `QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re`
- CIDv1: `bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74`

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://bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy.ipfs.dweb.link/
- https://bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy.ipfs.cf-ipfs.com/
- [ipfs://QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV/](ipfs://QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV/)
- https://bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74.ipfs.dweb.link/
- https://bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74.ipfs.cf-ipfs.com/
- [ipfs://QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re/](ipfs://QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re/)

### 5.64.1 (2025-01-09)
### 5.64.2 (2025-01-13)


### Bug Fixes

* **web:** limit orders do not work with uniswapx v2 (#14996) d520262
* **web:** fix infinite loop on analytics toggle 3a2b4dc


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.64.1
web/5.64.2
22 changes: 14 additions & 8 deletions apps/web/src/components/AccountDrawer/AnalyticsToggle.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
import { SettingsToggle } from 'components/AccountDrawer/SettingsToggle'
import { useState } from 'react'
import { useCallback, useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
// eslint-disable-next-line no-restricted-imports
import { analytics, getAnalyticsAtomDirect } from 'utilities/src/telemetry/analytics/analytics'

export function AnalyticsToggle() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [x, setCounter] = useState(0)
const [allowAnalytics, setAllowAnalytics] = useState(true)
const { t } = useTranslation()

getAnalyticsAtomDirect(true).then((v: boolean) => setAllowAnalytics(v))
useEffect(() => {
getAnalyticsAtomDirect(true)
.then((enabled) => setAllowAnalytics(enabled))
.catch(() => {
setAllowAnalytics(true)
})
}, [])

const handleToggle = useCallback(async () => {
await analytics.setAllowAnalytics(!allowAnalytics)
setAllowAnalytics(!allowAnalytics)
}, [allowAnalytics])

return (
<SettingsToggle
title={t('analytics.allow')}
description={t('analytics.allow.message')}
isActive={allowAnalytics}
toggle={() => {
analytics.setAllowAnalytics(!allowAnalytics)
setCounter((c) => c + 1)
}}
toggle={handleToggle}
/>
)
}

0 comments on commit e8cdfff

Please sign in to comment.