Skip to content

Commit 734439c

Browse files
authored
Merge pull request #847 from reactjs/sync-dc1d5802
Sync with react.dev @ dc1d580
2 parents f487503 + 499bf72 commit 734439c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
# Disable Dependabot. Doing it here so it propagates to translation forks.
8+
open-pull-requests-limit: 0

src/components/Layout/HomeContent.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,10 @@ function VideoList({videos, emptyHeading}) {
14631463
function SearchInput({value, onChange}) {
14641464
const id = useId();
14651465
return (
1466-
<form className="mb-3 py-1" data-hover="SearchInput">
1466+
<form
1467+
className="mb-3 py-1"
1468+
data-hover="SearchInput"
1469+
onSubmit={(e) => e.preventDefault()}>
14671470
<label htmlFor={id} className="sr-only">
14681471
Search
14691472
</label>

0 commit comments

Comments
 (0)