mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
SearchBar focused on query changed
This commit is contained in:
parent
698f1174c7
commit
d317ef04d3
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ const SearchBar = ({ className }) => {
|
|||
if (active && focusable) {
|
||||
searchInputRef.current.focus();
|
||||
}
|
||||
}, [active, focusable]);
|
||||
}, [active, focusable, query]);
|
||||
return (
|
||||
<label className={classnames(className, styles['search-bar-container'], { 'active': active })} onClick={searchBarOnClick}>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue