Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
e8cdfff8
Commit
e8cdfff8
authored
Jan 13, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
26cd89cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
16 deletions
+22
-16
RELEASE
RELEASE
+7
-7
VERSION
VERSION
+1
-1
AnalyticsToggle.tsx
apps/web/src/components/AccountDrawer/AnalyticsToggle.tsx
+14
-8
No files found.
RELEASE
View file @
e8cdfff8
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `Qm
QJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV
`
- CIDv0: `Qm
RHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re
`
- CIDv1: `bafybei
a5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy
`
- CIDv1: `bafybei
bl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74
`
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://bafybei
a5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy
.ipfs.dweb.link/
- https://bafybei
bl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74
.ipfs.dweb.link/
- https://bafybei
a5esoynn6udnsocgpwufk6one5vbkcvowseql5tfilf46asmveqy
.ipfs.cf-ipfs.com/
- https://bafybei
bl3u67jwwr3vxssx7z6bbz35bk333qe6xdnkruce7pmma5uf2z74
.ipfs.cf-ipfs.com/
- [ipfs://Qm
QJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV/](ipfs://QmQJQv4CsTmaz2YxvP2J6rckTN55Kpb8kgs3nuH75K4HWV
/)
- [ipfs://Qm
RHsud7WNRFUg4cTcXRxuwZYZRAhYMkYAcA97mtqwq9re/](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
VERSION
View file @
e8cdfff8
web/5.64.1
web/5.64.2
\ No newline at end of file
\ No newline at end of file
apps/web/src/components/AccountDrawer/AnalyticsToggle.tsx
View file @
e8cdfff8
import
{
SettingsToggle
}
from
'
components/AccountDrawer/SettingsToggle
'
import
{
SettingsToggle
}
from
'
components/AccountDrawer/SettingsToggle
'
import
{
useState
}
from
'
react
'
import
{
use
Callback
,
useEffect
,
use
State
}
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
)
}
}
/>
/>
)
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment