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

Commit

Permalink
fix: auto focus to rating input (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadhuSaini22 authored Oct 1, 2024
1 parent 38d7abe commit 732b8f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/rate/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default function Form({ name = "", owner = "" }) {
value={owner && name && `https://github.com/${owner}/${name}`}
placeholder="URL"
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"
autoFocus
required
/>
</div>
Expand Down

0 comments on commit 732b8f2

Please sign in to comment.