mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix(SearchBar): condition issue
This commit is contained in:
parent
6e73d56da2
commit
932ebde34f
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ const SearchBar = React.memo(({ className, query, active }) => {
|
|||
</Button>
|
||||
}
|
||||
{
|
||||
historyOpen && searchHistory?.items?.length > 0 || localSearch?.items?.length > 0 ?
|
||||
historyOpen && (searchHistory?.items?.length || localSearch?.items?.length) ?
|
||||
<div className={styles['menu-container']}>
|
||||
{
|
||||
searchHistory?.items?.length > 0 ?
|
||||
|
|
|
|||
Loading…
Reference in a new issue