ci(release): publish latest release

parent 26cd89cd
IPFS hash of the deployment: IPFS hash of the deployment:
- CIDv0: `QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV` - CIDv0: `QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re`
- CIDv1: `bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy` - CIDv1: `bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74`
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://bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy.ipfs.dweb.link/ - https://bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74.ipfs.dweb.link/
- https://bafybeia5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy.ipfs.cf-ipfs.com/ - https://bafybeibl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74.ipfs.cf-ipfs.com/
- [ipfs://QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV/](ipfs://QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV/) - [ipfs://QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re/](ipfs://QmRHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re/)
### 5.64.1 (2025-01-09) ### 5.64.2 (2025-01-13)
### Bug Fixes ### Bug Fixes
* **web:** limit orders do not work with uniswapx v2 (#14996) d520262 * **web:** fix infinite loop on analytics toggle 3a2b4dc
web/5.64.1 web/5.64.2
\ No newline at end of file \ No newline at end of file
import { SettingsToggle } from 'components/AccountDrawer/SettingsToggle' import { SettingsToggle } from 'components/AccountDrawer/SettingsToggle'
import { useState } from 'react' import { useCallback, useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
// eslint-disable-next-line no-restricted-imports // eslint-disable-next-line no-restricted-imports
import { analytics, getAnalyticsAtomDirect } from 'utilities/src/telemetry/analytics/analytics' import { analytics, getAnalyticsAtomDirect } from 'utilities/src/telemetry/analytics/analytics'
export function AnalyticsToggle() { export function AnalyticsToggle() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [x, setCounter] = useState(0)
const [allowAnalytics, setAllowAnalytics] = useState(true) const [allowAnalytics, setAllowAnalytics] = useState(true)
const { t } = useTranslation() 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 ( return (
<SettingsToggle <SettingsToggle
title={t('analytics.allow')} title={t('analytics.allow')}
description={t('analytics.allow.message')} description={t('analytics.allow.message')}
isActive={allowAnalytics} isActive={allowAnalytics}
toggle={() => { toggle={handleToggle}
analytics.setAllowAnalytics(!allowAnalytics)
setCounter((c) => c + 1)
}}
/> />
) )
} }
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