mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Merge pull request #568 from Stremio/fix-search-history-visibility
fix: search-history visibility
This commit is contained in:
commit
244fb8bf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ const SearchBar = React.memo(({ className, query, active }) => {
|
|||
const localSearch = useLocalSearch();
|
||||
const { createTorrentFromMagnet } = useTorrent();
|
||||
|
||||
const [historyOpen, openHistory, closeHistory, ] = useBinaryState(false);
|
||||
const [historyOpen, openHistory, closeHistory, ] = useBinaryState(query === null ? true : false);
|
||||
const [currentQuery, setCurrentQuery] = React.useState(query || '');
|
||||
|
||||
const searchInputRef = React.useRef(null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue