feat: the search bar now auto-focuses when you first visit the site
This commit is contained in:
committed by
Steven Luscher
parent
87e0aa1b74
commit
5e08701189
@ -42,6 +42,7 @@ export function SearchBar() {
|
|||||||
<div className="row align-items-center">
|
<div className="row align-items-center">
|
||||||
<div className="col">
|
<div className="col">
|
||||||
<Select
|
<Select
|
||||||
|
autoFocus
|
||||||
ref={(ref) => (selectRef.current = ref)}
|
ref={(ref) => (selectRef.current = ref)}
|
||||||
options={buildOptions(
|
options={buildOptions(
|
||||||
search,
|
search,
|
||||||
|
Reference in New Issue
Block a user