Skip to content

Commit cd6e81b

Browse files
ci(release): publish latest release
1 parent 98e2fa5 commit cd6e81b

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

RELEASE

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri`
3-
- CIDv1: `bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom`
2+
- CIDv0: `QmNseCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef`
3+
- CIDv1: `bafybeiah6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q`
44

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

@@ -10,15 +10,15 @@ 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://bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom.ipfs.dweb.link/
14-
- https://bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom.ipfs.cf-ipfs.com/
15-
- [ipfs://QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri/](ipfs://QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri/)
13+
- https://bafybeiah6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q.ipfs.dweb.link/
14+
- https://bafybeiah6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q.ipfs.cf-ipfs.com/
15+
- [ipfs://QmNseCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef/](ipfs://QmNseCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef/)
1616

17-
### 5.45.2 (2024-09-05)
17+
### 5.45.3 (2024-09-05)
1818

1919

2020
### Bug Fixes
2121

22-
* **web:** stop crash on search - prod (#11568) 12d0927
22+
* **web:** filter sugessstions if chain is undefined (#11572) f71048d
2323

2424

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.45.2
1+
web/5.45.3

apps/web/src/components/NavBar/SearchBar/SearchBarDropdown.tsx

+12-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ import { useLocation } from 'react-router-dom'
2626
import { ThemedText } from 'theme/components'
2727
import { Flex } from 'ui/src'
2828
import { UNIVERSE_CHAIN_INFO } from 'uniswap/src/constants/chains'
29-
import { HistoryDuration, SafetyLevel } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
29+
import {
30+
HistoryDuration,
31+
SafetyLevel,
32+
Token,
33+
} from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks'
3034
import { InterfaceSearchResultSelectionProperties } from 'uniswap/src/features/telemetry/types'
3135
import { Trans } from 'uniswap/src/i18n'
3236
import { InterfaceChainId } from 'uniswap/src/types/chains'
@@ -171,7 +175,13 @@ function SearchBarDropdownContents({
171175
}: SearchBarDropdownProps): JSX.Element {
172176
const [hoveredIndex, setHoveredIndex] = useState<number | undefined>(0)
173177
const { data: searchHistory } = useRecentlySearchedAssets()
174-
const shortenedHistory = useMemo(() => searchHistory ?? [...Array<GqlSearchToken>(2)], [searchHistory])
178+
const shortenedHistory = useMemo(
179+
() =>
180+
searchHistory?.filter((item) => 'isVerified' in (item as GenieCollection) || (item as Token).chain) ?? [
181+
...Array<GqlSearchToken>(2),
182+
],
183+
[searchHistory],
184+
)
175185
const { pathname } = useLocation()
176186
const isNFTPage = useIsNftPage()
177187
const isTokenPage = pathname.includes('/explore')

0 commit comments

Comments
 (0)