hot reloading is better

This commit is contained in:
2024-08-27 17:14:21 -06:00
parent bc1449f537
commit eb18f93875
19 changed files with 248 additions and 89 deletions

View File

@@ -0,0 +1,16 @@
"use client"
import { useLocalCoursesQuery } from "@/hooks/localCoursesHooks";
import Link from "next/link";
export default function CourseList() {
const { data: courses } = useLocalCoursesQuery();
return (
<div>
{courses.map((c) => (
<Link href={`/course/${c.settings.name}`} key={c.settings.name}>
{c.settings.name}{" "}
</Link>
))}
</div>
);
}