mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 17:02:12 +00:00
clear click callback instead of disable the search submit button
This commit is contained in:
parent
3eac6cce88
commit
6e78c0fc18
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ const SearchBar = ({ className }) => {
|
|||
<div className={styles['placeholder']}>Search</div>
|
||||
</div>
|
||||
}
|
||||
<Button className={styles['submit-button']} tabIndex={-1} disabled={!active} onClick={queryInputOnSubmit}>
|
||||
<Button className={styles['submit-button']} tabIndex={-1} onClick={active ? queryInputOnSubmit : null}>
|
||||
<Icon className={styles['submit-icon']} icon={'ic_search'} />
|
||||
</Button>
|
||||
</label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue