Skip to content

Commit 916711a

Browse files
committed
Minor updates
1 parent d7fa122 commit 916711a

File tree

14 files changed

+13
-17
lines changed

14 files changed

+13
-17
lines changed

next02/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "next01",
2+
"name": "next02",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
@@ -20,4 +20,4 @@
2020
"react-dom": "18.2.0",
2121
"typescript": "4.9.5"
2222
}
23-
}
23+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

next04/app/users/[userId]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default async function UserPage({ params: { userId } }: Params) {
3838

3939
const user = await userData
4040

41-
if (!user.name) return notFound()
41+
if (!user.name) notFound()
4242

4343
return (
4444
<>
File renamed without changes.
File renamed without changes.
File renamed without changes.

next04/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "next03",
2+
"name": "next04",
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
@@ -19,4 +19,4 @@
1919
"react-dom": "18.2.0",
2020
"typescript": "4.9.5"
2121
}
22-
}
22+
}
File renamed without changes.

0 commit comments

Comments
 (0)