Skip to content

Commit

Permalink
autoFocus goes so hard
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeBarlow committed Nov 1, 2024
1 parent 52f75df commit 080655b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/components/sidebar/add-station.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const AddStation: React.FC<AddStationProps> = ({ className, style, onAddStation
onKeyDown={(e) => {
e.key === 'Enter' && addStation();
}}
autoFocus
></input>

<button
Expand Down

0 comments on commit 080655b

Please sign in to comment.