feat: the search bar now auto-focuses when you first visit the site

This commit is contained in:
steveluscher 2022-03-25 23:57:58 -07:00 committed by Steven Luscher
parent 87e0aa1b74
commit 5e08701189
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ export function SearchBar() {
<div className="row align-items-center">
<div className="col">
<Select
autoFocus
ref={(ref) => (selectRef.current = ref)}
options={buildOptions(
search,