Skip to content

Commit c338738

Browse files
authored
fix link to personal chat in classroom cards (#56)
1 parent 32951c6 commit c338738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/classroom/classroomList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function ClassroomListWithContext({
317317
asChild
318318
// className="me-2 rounded-lg border px-5 py-2.5 text-center text-sm font-medium hover:bg-green-800 hover:text-white focus:outline-none focus:ring-4 focus:ring-green-300 dark:border-green-500 dark:text-green-500 dark:hover:bg-green-600 dark:hover:text-white dark:focus:ring-green-900"
319319
>
320-
<Link href={`../chat/${classroom.id}`} passHref>
320+
<Link href={`/classroom/${classroom.id}/chat`} passHref>
321321
<MessageSquareMore className="scale-[200%]" />{" "}
322322
</Link>
323323
</Button>

0 commit comments

Comments
 (0)