Skip to content

Commit cb2349c

Browse files
ci(release): publish latest release
1 parent 370b3b8 commit cb2349c

3 files changed

Lines changed: 15 additions & 8 deletions

File tree

RELEASE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmYKwh8ow3BL6cABMsakbAjbsjDT9KSJUdvhn6EjzeWEyR`
3-
- CIDv1: `bafybeieumz65dtq4b2yqdxg6yvlkbblxt7gb5l6pgkzucxeye7lxqksqcq`
2+
- CIDv0: `QmcMz6DNz5J4zKEpacghK2qti4cNNCMTM52L6W29sD7nrv`
3+
- CIDv1: `bafybeigqlmoljlfj2t7hzn2pscueekclcktd7oefssqshoika5nlxv65cm`
44

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

@@ -10,5 +10,5 @@ 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://bafybeieumz65dtq4b2yqdxg6yvlkbblxt7gb5l6pgkzucxeye7lxqksqcq.ipfs.dweb.link/
14-
- [ipfs://QmYKwh8ow3BL6cABMsakbAjbsjDT9KSJUdvhn6EjzeWEyR/](ipfs://QmYKwh8ow3BL6cABMsakbAjbsjDT9KSJUdvhn6EjzeWEyR/)
13+
- https://bafybeigqlmoljlfj2t7hzn2pscueekclcktd7oefssqshoika5nlxv65cm.ipfs.dweb.link/
14+
- [ipfs://QmcMz6DNz5J4zKEpacghK2qti4cNNCMTM52L6W29sD7nrv/](ipfs://QmcMz6DNz5J4zKEpacghK2qti4cNNCMTM52L6W29sD7nrv/)

VERSION

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

apps/web/src/components/Toucan/Auction/Banners/AuctionStatsBanner/AuctionStatsBanner.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
} from 'ui/src'
1414
import { useAppFiatCurrencyInfo } from 'uniswap/src/features/fiatCurrency/hooks'
1515
import { useLocalizationContext } from 'uniswap/src/features/language/LocalizationContext'
16+
import { NumberType } from 'utilities/src/format/types'
1617
import { ArrowChangeDown } from '~/components/Icons/ArrowChangeDown'
1718
import { ArrowChangeUp } from '~/components/Icons/ArrowChangeUp'
1819
import { useStatsBannerData } from '~/components/Toucan/Auction/hooks/useStatsBannerData'
@@ -89,7 +90,7 @@ const SUBSCRIPT_THRESHOLD = 4
8990
export function AuctionStatsBanner() {
9091
const { t } = useTranslation()
9192
const colors = useSporeColors()
92-
const { formatPercent } = useLocalizationContext()
93+
const { formatPercent, formatNumberOrString } = useLocalizationContext()
9394
const { symbol: currencySymbol } = useAppFiatCurrencyInfo()
9495
const statCellTitleVariant = useStatCellTitleVariant()
9596
const media = useMedia()
@@ -119,8 +120,14 @@ export function AuctionStatsBanner() {
119120
const arrowSize = media.lg ? 10 : 16
120121
const showChangePercent = changePercent !== null && changePercent > 0
121122

122-
// Format the change percent (formatPercent expects a raw percentage like 36 for 36%)
123-
const changePercentFormatted = changePercent !== null ? formatPercent(changePercent) : null
123+
const changePercentFormatted =
124+
changePercent === null
125+
? null
126+
: changePercent >= 1_000_000
127+
? '1M+%'
128+
: changePercent >= 1000
129+
? `${formatNumberOrString({ value: changePercent, type: NumberType.TokenQuantityStats })}%`
130+
: formatPercent(changePercent)
124131

125132
return (
126133
<Flex

0 commit comments

Comments
 (0)