Skip to content

Commit 748704d

Browse files
luci379luciajoshuasilva414
authored
Courses courseid (#16)
* set up: Shadcn/ui, react hook form, zod -luci :) * courses scaffolding * courses[courseId] * course-courseid --------- Co-authored-by: lucia <lucianit3@gmail.com> Co-authored-by: Joshua Silva <72359611+joshuasilva414@users.noreply.github.com>
1 parent 95aec83 commit 748704d

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"lint": "eslint"
1010
},
1111
"dependencies": {
12+
"react": "19.1.0",
13+
"react-dom": "19.1.0",
1214
"react-hook-form": "^7.63.0",
1315
"zod": "^4.1.11",
1416
"@libsql/client": "^0.15.15",
1517
"drizzle-orm": "^0.44.6",
1618
"next": "15.5.4",
17-
"react": "19.1.0",
18-
"react-dom": "19.1.0",
1919
"next-safe-action": "8.0.11",
2020
"web": "link:@libsql/client/web",
2121
"better-auth": "^1.3.26"
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
export default function CoursesPage() {
2-
return (
3-
<div>
4-
This is the Courses/CoursesIDpage scaffold
5-
</div>
6-
)
1+
export default async function Page({
2+
params,
3+
}: {
4+
params: Promise<{ courseId: string }>;
5+
}) {
6+
const { courseId } = await params;
7+
return <div>Managing tag: {courseId}</div>;
78
}

0 commit comments

Comments
 (0)