Skip to content

Commit

Permalink
feat: autofocus for qol
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Aug 25, 2024
1 parent 0aacaf5 commit de4d2c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ onSelectProfessor }) => {
type="text"
placeholder="Who are you looking for?"
value={searchName}
autoFocus={true}
onChange={(e) => handleChange(e.target.value)}
/>
</div>
Expand Down

0 comments on commit de4d2c1

Please sign in to comment.