loading states

This commit is contained in:
2024-08-29 15:25:54 -06:00
parent 10afc745a9
commit 9d6a3d1199
5 changed files with 114 additions and 11 deletions

View File

@@ -7,8 +7,8 @@ export default function CourseList() {
return (
<div>
{courses.map((c) => (
<Link href={`/course/${c.settings.name}`} key={c.settings.name}>
{c.settings.name}{" "}
<Link href={`/course/${c}`} key={c}>
{c}{" "}
</Link>
))}
</div>