Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
cd6e81be
Commit
cd6e81be
authored
Sep 05, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
98e2fa58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
RELEASE
RELEASE
+7
-7
VERSION
VERSION
+1
-1
SearchBarDropdown.tsx
...web/src/components/NavBar/SearchBar/SearchBarDropdown.tsx
+12
-2
No files found.
RELEASE
View file @
cd6e81be
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `QmN
qPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri
`
- CIDv0: `QmN
seCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef
`
- CIDv1: `bafybeiah
lrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom
`
- CIDv1: `bafybeiah
6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
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.
...
@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
IPFS gateways:
- https://bafybeiah
lrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom
.ipfs.dweb.link/
- https://bafybeiah
6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q
.ipfs.dweb.link/
- https://bafybeiah
lrqvc2774o2m52oaqpupr2wb6ycrv2p4y65lf27etmvjsbegom
.ipfs.cf-ipfs.com/
- https://bafybeiah
6bwq7dezzdlgk22o5nbiel2t73ev5tpo75mqebz5f4p5dw5v5q
.ipfs.cf-ipfs.com/
- [ipfs://QmN
qPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri/](ipfs://QmNqPGKMdePE3CHXYcsFP4iUhi4CqDxj5UPy9WS24aiPri
/)
- [ipfs://QmN
seCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef/](ipfs://QmNseCQM3gjdY5cnH16fzEDwnaik9pnuLDaAXAWbET2gef
/)
### 5.45.
2
(2024-09-05)
### 5.45.
3
(2024-09-05)
### Bug Fixes
### Bug Fixes
* **web:**
stop crash on search - prod (#11568) 12d0927
* **web:**
filter sugessstions if chain is undefined (#11572) f71048d
VERSION
View file @
cd6e81be
web/5.45.2
web/5.45.3
\ No newline at end of file
\ No newline at end of file
apps/web/src/components/NavBar/SearchBar/SearchBarDropdown.tsx
View file @
cd6e81be
...
@@ -26,7 +26,11 @@ import { useLocation } from 'react-router-dom'
...
@@ -26,7 +26,11 @@ import { useLocation } from 'react-router-dom'
import
{
ThemedText
}
from
'
theme/components
'
import
{
ThemedText
}
from
'
theme/components
'
import
{
Flex
}
from
'
ui/src
'
import
{
Flex
}
from
'
ui/src
'
import
{
UNIVERSE_CHAIN_INFO
}
from
'
uniswap/src/constants/chains
'
import
{
UNIVERSE_CHAIN_INFO
}
from
'
uniswap/src/constants/chains
'
import
{
HistoryDuration
,
SafetyLevel
}
from
'
uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks
'
import
{
HistoryDuration
,
SafetyLevel
,
Token
,
}
from
'
uniswap/src/data/graphql/uniswap-data-api/__generated__/types-and-hooks
'
import
{
InterfaceSearchResultSelectionProperties
}
from
'
uniswap/src/features/telemetry/types
'
import
{
InterfaceSearchResultSelectionProperties
}
from
'
uniswap/src/features/telemetry/types
'
import
{
Trans
}
from
'
uniswap/src/i18n
'
import
{
Trans
}
from
'
uniswap/src/i18n
'
import
{
InterfaceChainId
}
from
'
uniswap/src/types/chains
'
import
{
InterfaceChainId
}
from
'
uniswap/src/types/chains
'
...
@@ -171,7 +175,13 @@ function SearchBarDropdownContents({
...
@@ -171,7 +175,13 @@ function SearchBarDropdownContents({
}:
SearchBarDropdownProps
):
JSX
.
Element
{
}:
SearchBarDropdownProps
):
JSX
.
Element
{
const
[
hoveredIndex
,
setHoveredIndex
]
=
useState
<
number
|
undefined
>
(
0
)
const
[
hoveredIndex
,
setHoveredIndex
]
=
useState
<
number
|
undefined
>
(
0
)
const
{
data
:
searchHistory
}
=
useRecentlySearchedAssets
()
const
{
data
:
searchHistory
}
=
useRecentlySearchedAssets
()
const
shortenedHistory
=
useMemo
(()
=>
searchHistory
??
[...
Array
<
GqlSearchToken
>
(
2
)],
[
searchHistory
])
const
shortenedHistory
=
useMemo
(
()
=>
searchHistory
?.
filter
((
item
)
=>
'
isVerified
'
in
(
item
as
GenieCollection
)
||
(
item
as
Token
).
chain
)
??
[
...
Array
<
GqlSearchToken
>
(
2
),
],
[
searchHistory
],
)
const
{
pathname
}
=
useLocation
()
const
{
pathname
}
=
useLocation
()
const
isNFTPage
=
useIsNftPage
()
const
isNFTPage
=
useIsNftPage
()
const
isTokenPage
=
pathname
.
includes
(
'
/explore
'
)
const
isTokenPage
=
pathname
.
includes
(
'
/explore
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment