Skip to content

Commit d0aedd1

Browse files
Merge branch 'main' into use-transition-id
2 parents 3eac889 + 7c0a429 commit d0aedd1

File tree

14 files changed

+311
-296
lines changed

14 files changed

+311
-296
lines changed

.github/workflows/analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Here's the first place where next-bundle-analysis' own script is used
3939
# This step pulls the raw bundle stats for the current bundle
4040
- name: Analyze bundle
41-
run: npx -p nextjs-bundle-analysis report
41+
run: npx -p nextjs-bundle-analysis@0.5.0 report
4242

4343
- name: Upload bundle
4444
uses: actions/upload-artifact@v2

.github/workflows/analyze_comment.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,9 @@ jobs:
4747
pr_number=$(cat pr_number/pr_number)
4848
echo "pr-number=$pr_number" >> $GITHUB_OUTPUT
4949
50-
- name: Find Comment
51-
uses: peter-evans/find-comment@v1
52-
if: success()
53-
id: fc
54-
with:
55-
issue-number: ${{ steps.get-comment-body.outputs.pr-number }}
56-
body-includes: "<!-- __NEXTJS_BUNDLE -->"
57-
58-
- name: Create Comment
59-
uses: peter-evans/create-or-update-comment@v1.4.4
60-
if: success() && steps.fc.outputs.comment-id == 0
61-
with:
62-
issue-number: ${{ steps.get-comment-body.outputs.pr-number }}
63-
body: ${{ steps.get-comment-body.outputs.body }}
64-
65-
- name: Update Comment
66-
uses: peter-evans/create-or-update-comment@v1.4.4
67-
if: success() && steps.fc.outputs.comment-id != 0
50+
- name: Comment
51+
uses: marocchino/sticky-pull-request-comment@v2
6852
with:
69-
issue-number: ${{ steps.get-comment-body.outputs.pr-number }}
70-
body: ${{ steps.get-comment-body.outputs.body }}
71-
comment-id: ${{ steps.fc.outputs.comment-id }}
72-
edit-mode: replace
53+
header: next-bundle-analysis
54+
number: ${{ steps.get-comment-body.outputs.pr-number }}
55+
message: ${{ steps.get-comment-body.outputs.body }}

TRANSLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Untuk menjalankan situs id.react.dev secara lokal, ikuti langkah-langkah berikut
2020
2. Buatlah *fork* dari repositori id.react.dev di akun Anda, kemudian *clone* repositori tersebut.
2121
3. Jalankan `yarn` di terminal untuk menginstalasi dependensi yang dibutuhkan.
2222
4. Jalankan `yarn dev` untuk menjalankan *server* lokal.
23-
5. Buka alamat `localhost:8000` dalam peramban web Anda.
23+
5. Buka alamat `localhost:3000` dalam peramban web Anda.
2424

2525
Konten dari situs id.react.dev terdapat dalam folder `content`, dan disimpan dalam format Markdown. Buka proyek id.react.dev dalam program penyunting teks Anda, dan mulailah menyunting. Konten dalam situs lokal akan diperbarui secara otomatis.
2626

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>

src/content/community/conferences.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c
1010

1111
## Upcoming Conferences {/*upcoming-conferences*/}
1212

13-
### React Miami 2023 {/*react-miami-2023*/}
14-
April 20 - 21, 2023. Miami, FL, USA
15-
16-
[Website](https://www.reactmiami.com/) - [Twitter](https://twitter.com/ReactMiamiConf)
17-
1813
### Reactathon 2023 {/*reactathon-2023*/}
1914
May 2 - 3, 2023. San Francisco, CA, USA
2015

@@ -92,6 +87,11 @@ December 8 & 12, 2023. In-person in Berlin, Germany + remote first interactivity
9287

9388
## Past Conferences {/*past-conferences*/}
9489

90+
### React Miami 2023 {/*react-miami-2023*/}
91+
April 20 - 21, 2023. Miami, FL, USA
92+
93+
[Website](https://www.reactmiami.com/) - [Twitter](https://twitter.com/ReactMiamiConf)
94+
9595
### React Day Berlin 2022 {/*react-day-berlin-2022*/}
9696
December 2, 2022. In-person in Berlin, Germany + remote (hybrid event)
9797

0 commit comments

Comments
 (0)