Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 732b8f2

Browse files
authored
fix: auto focus to rating input (#126)
1 parent 38d7abe commit 732b8f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/rate/Form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export default function Form({ name = "", owner = "" }) {
8383
value={owner && name && `https://github.com/${owner}/${name}`}
8484
placeholder="URL"
8585
className="block w-full rounded-md border-0 bg-white/5 py-1.5 text-white shadow-sm ring-1 ring-inset ring-white/10 focus:ring-2 focus:ring-inset focus:ring-indigo-500 sm:text-sm sm:leading-6"
86+
autoFocus
8687
required
8788
/>
8889
</div>

0 commit comments

Comments
 (0)