From 98e2fa5871bcc26d2881e194f2654b5d0b10ddf9 Mon Sep 17 00:00:00 2001 From: Uniswap Labs Service Account Date: Thu, 5 Sep 2024 19:16:52 +0000 Subject: [PATCH] ci(release): publish latest release --- RELEASE | 14 +++++++------- VERSION | 2 +- apps/web/src/components/Logo/QueryTokenLogo.tsx | 2 +- .../components/NavBar/SearchBar/SuggestionRow.tsx | 6 ++++-- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/RELEASE b/RELEASE index a4e3738304e..4cc83bf5313 100644 --- a/RELEASE +++ b/RELEASE @@ -1,6 +1,6 @@ IPFS hash of the deployment: -- CIDv0: `QmPJsdrofYQ6SUV8zDEMh75V6DNdCX7DYH7jVEenjuPJEN` -- CIDv1: `bafybeiaom4sehmbhmxryop6mzvfhw7j5fgmv47kmju43hjcyi6rfr2tqdm` +- CIDv0: `QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri` +- CIDv1: `bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom` 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://bafybeiaom4sehmbhmxryop6mzvfhw7j5fgmv47kmju43hjcyi6rfr2tqdm.ipfs.dweb.link/ -- https://bafybeiaom4sehmbhmxryop6mzvfhw7j5fgmv47kmju43hjcyi6rfr2tqdm.ipfs.cf-ipfs.com/ -- [ipfs://QmPJsdrofYQ6SUV8zDEMh75V6DNdCX7DYH7jVEenjuPJEN/](ipfs://QmPJsdrofYQ6SUV8zDEMh75V6DNdCX7DYH7jVEenjuPJEN/) +- https://bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom.ipfs.dweb.link/ +- https://bafybeiahlrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom.ipfs.cf-ipfs.com/ +- [ipfs://QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri/](ipfs://QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri/) -### 5.45.1 (2024-09-04) +### 5.45.2 (2024-09-05) ### Bug Fixes -* **web:** Show all tabs when multichain_explore is disabled - prod (#11534) d9ec7de +* **web:** stop crash on search - prod (#11568) 12d0927 diff --git a/VERSION b/VERSION index 65c6dec59d3..ad06ddf17f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -web/5.45.1 \ No newline at end of file +web/5.45.2 \ No newline at end of file diff --git a/apps/web/src/components/Logo/QueryTokenLogo.tsx b/apps/web/src/components/Logo/QueryTokenLogo.tsx index e244d129fb0..214565b1cf2 100644 --- a/apps/web/src/components/Logo/QueryTokenLogo.tsx +++ b/apps/web/src/components/Logo/QueryTokenLogo.tsx @@ -16,7 +16,7 @@ export default function QueryTokenLogo( token?: TopToken | TokenQueryData | GqlSearchToken | TokenStat }, ) { - const chain = getChainFromChainUrlParam(props.token?.chain.toLowerCase()) + const chain = getChainFromChainUrlParam(props.token?.chain?.toLowerCase()) const chainId = chain?.id ?? UniverseChainId.Mainnet const isNative = props.token?.address === NATIVE_CHAIN_ID const isTokenStat = !!props.token && 'volume' in props.token diff --git a/apps/web/src/components/NavBar/SearchBar/SuggestionRow.tsx b/apps/web/src/components/NavBar/SearchBar/SuggestionRow.tsx index 4fb26e9ecd6..6d6bf995d7b 100644 --- a/apps/web/src/components/NavBar/SearchBar/SuggestionRow.tsx +++ b/apps/web/src/components/NavBar/SearchBar/SuggestionRow.tsx @@ -17,7 +17,7 @@ import { Link, useNavigate } from 'react-router-dom' import { EllipsisStyle, ThemedText } from 'theme/components' import { Flex } from 'ui/src' import { Verified } from 'ui/src/components/icons/Verified' -import { TokenStandard } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks' +import { Chain, TokenStandard } from 'uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks' import { addToSearchHistory } from 'uniswap/src/features/search/searchHistorySlice' import { sendAnalyticsEvent } from 'uniswap/src/features/telemetry/send' import { InterfaceSearchResultSelectionProperties } from 'uniswap/src/features/telemetry/types' @@ -131,7 +131,9 @@ export function SuggestionRow({ sendAnalyticsEvent(InterfaceEventName.NAVBAR_RESULT_SELECTED, { ...eventProperties }) }, [suggestion, isToken, toggleOpen, eventProperties, dispatch]) - const path = isToken ? getTokenDetailsURL({ ...suggestion }) : `/nfts/collection/${suggestion.address}` + const path = isToken + ? getTokenDetailsURL({ ...suggestion, chain: suggestion.chain ?? Chain.Ethereum }) + : `/nfts/collection/${suggestion.address}` // Close the modal on escape useEffect(() => { const keyDownHandler = (event: KeyboardEvent) => {