Skip to content

Commit

Permalink
Merge pull request #453 from reactjs/sync-dc1d5802
Browse files Browse the repository at this point in the history
Sync with react.dev @ dc1d580
  • Loading branch information
tdd authored Apr 26, 2023
2 parents e857e58 + 7d97f7e commit 522452a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Layout/HomeContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,10 @@ function VideoList({videos, emptyHeading}) {
function SearchInput({value, onChange}) {
const id = useId();
return (
<form className="mb-3 py-1" data-hover="SearchInput">
<form
className="mb-3 py-1"
data-hover="SearchInput"
onSubmit={(e) => e.preventDefault()}>
<label htmlFor={id} className="sr-only">
Search
</label>
Expand Down

0 comments on commit 522452a

Please sign in to comment.