From a0e4994f543f2adfe1438a953ab4d7020077b514 Mon Sep 17 00:00:00 2001 From: Uniswap Labs Service Account Date: Tue, 17 Sep 2024 16:25:31 +0000 Subject: [PATCH] ci(release): publish latest release --- RELEASE | 14 +++++++------- VERSION | 2 +- apps/web/src/hooks/useFeeTierDistribution.ts | 5 ++++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/RELEASE b/RELEASE index 855d2fb1902..ce0df2ec200 100644 --- a/RELEASE +++ b/RELEASE @@ -1,6 +1,6 @@ IPFS hash of the deployment: -- CIDv0: `QmPJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew` -- CIDv1: `bafybeiaojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q` +- CIDv0: `QmQHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig` +- CIDv1: `bafybeia47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe` 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. Your Uniswap settings are never remembered across different URLs. IPFS gateways: -- https://bafybeiaojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q.ipfs.dweb.link/ -- https://bafybeiaojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q.ipfs.cf-ipfs.com/ -- [ipfs://QmPJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew/](ipfs://QmPJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew/) +- https://bafybeia47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe.ipfs.dweb.link/ +- https://bafybeia47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe.ipfs.cf-ipfs.com/ +- [ipfs://QmQHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig/](ipfs://QmQHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig/) -### 5.46.1 (2024-09-12) +### 5.46.2 (2024-09-17) ### Bug Fixes -* **web:** remove frontend global search sorting/filtering logic [prod hotfix] (#11829) a5fcd4e +* **web:** prevent crash from new Base fee tiers [prod hotfix] (#11933) e570b30 diff --git a/VERSION b/VERSION index b4077aeb48c..525dd58a3a0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -web/5.46.1 \ No newline at end of file +web/5.46.2 \ No newline at end of file diff --git a/apps/web/src/hooks/useFeeTierDistribution.ts b/apps/web/src/hooks/useFeeTierDistribution.ts index e7c5b138cb0..2b9fc060832 100644 --- a/apps/web/src/hooks/useFeeTierDistribution.ts +++ b/apps/web/src/hooks/useFeeTierDistribution.ts @@ -113,6 +113,9 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) { if (!value.feeTier) { return acc } + + acc[value.feeTier] ??= [0, 0] + acc[value.feeTier][0] = (acc[value.feeTier][0] ?? 0) + Number(value.token0Supply) acc[value.feeTier][1] = (acc[value.feeTier][1] ?? 0) + Number(value.token1Supply) return acc @@ -122,7 +125,7 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) { [FeeAmount.LOW]: [undefined, undefined], [FeeAmount.MEDIUM]: [undefined, undefined], [FeeAmount.HIGH]: [undefined, undefined], - } as Record, + }, ) // sum total tvl for token0 and token1