Skip to content

Commit 9681443

Browse files
ci(release): publish latest release
1 parent 5064ba2 commit 9681443

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

RELEASE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmSR5NDYo4zoKKUQJ6fbr7QBw8VzMSYTPLCKWFrnEy3siH`
3-
- CIDv1: `bafybeib4sdzwnyzjkgip3tbxxpwp76goocrdu77z5cnshiitjqcpnv2pci`
2+
- CIDv0: `QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ`
3+
- CIDv1: `bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface`
44

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

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

1212
IPFS gateways:
13-
- https://bafybeib4sdzwnyzjkgip3tbxxpwp76goocrdu77z5cnshiitjqcpnv2pci.ipfs.dweb.link/
14-
- [ipfs://QmSR5NDYo4zoKKUQJ6fbr7QBw8VzMSYTPLCKWFrnEy3siH/](ipfs://QmSR5NDYo4zoKKUQJ6fbr7QBw8VzMSYTPLCKWFrnEy3siH/)
13+
- https://bafybeiadhirdveghtb4gap6kftmp7vfaa67op3ojcarjxf5f3pt2oqface.ipfs.dweb.link/
14+
- [ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/](ipfs://QmNZFM3Tfk8WQxYkSq5Wst6ZEcZMGWi3JWdjEmzzLL6CgQ/)
1515

16-
### 5.80.3 (2025-04-25)
16+
### 5.80.4 (2025-04-25)
1717

1818

1919
### Bug Fixes
2020

21-
* **web:** prod hotfix v4 eth pair liq chart fix (#18899) bab7ea8
21+
* **web:** lp incentives bugfixes (#18833) d337c45
2222

2323

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.80.3
1+
web/5.80.4

apps/web/src/components/Liquidity/LpIncentiveClaimModal.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,25 @@ export function LpIncentiveClaimModal({
6060
},
6161
})
6262

63-
const handleClaim = useEvent(() => {
64-
sendAnalyticsEvent(UniswapEventName.LpIncentiveCollectRewardsRetry)
63+
const handleClaim = useEvent(({ skipAnalytics = false } = {}) => {
64+
if (!skipAnalytics) {
65+
sendAnalyticsEvent(UniswapEventName.LpIncentiveCollectRewardsRetry)
66+
}
6567
setError(null)
6668
claim()
6769
})
6870

6971
// Only auto-claim when the modal opens and there's no pending transaction
7072
useEffect(() => {
7173
if (isOpen && !isPendingTransaction) {
72-
handleClaim()
74+
handleClaim({ skipAnalytics: true })
7375
}
7476
}, [isOpen, isPendingTransaction, handleClaim])
7577

7678
const buttonConfig = useLpIncentiveClaimButtonConfig({
7779
isLoading: isPending,
7880
isPendingTransaction,
79-
onClaim: handleClaim,
81+
onClaim: () => handleClaim(), // Don't skip analytics for manual claim
8082
})
8183

8284
return (

apps/web/src/hooks/useLpIncentives.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,19 @@ export function useLpIncentives(): UseLpIncentivesResult {
3232
const account = useAccount()
3333
const [, setLastClaimed] = useAtom(lpIncentivesLastClaimedAtom)
3434

35+
// Refetch rewards on transaction success with "reload" true to bust the Merkl cache for users wallet address
3536
const { refetch } = useGetPoolsRewards(
3637
{ walletAddress: account?.address, chainIds: [UniverseChainId.Mainnet], reload: true },
37-
Boolean(account?.address),
38+
false,
3839
)
3940

4041
const onTransactionSuccess = useCallback(async () => {
41-
// Immediately mark as collected locally and close modal
4242
setIsModalOpen(false)
4343
setHasCollectedRewards(true)
4444

4545
// Reload rewards data from the API
4646
if (account?.address) {
4747
try {
48-
// Refetch and wait for the result
4948
const { data: rewardsData } = await refetch()
5049

5150
// If the refetched data still shows rewards, store it temporarily

0 commit comments

Comments
 (0)