From 6def6108771b427e4885bebd23cecdad7a50efb0 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sun, 28 Dec 2025 11:18:25 -0600 Subject: [PATCH] fix(practice): use Next.js Link for student tiles + fix session observer z-index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace @@ -406,11 +404,12 @@ function StudentCard({ )} - {/* Main clickable area */} - + {/* Enrollment action buttons (for enrollment requests) */} {enrollmentActions && student.enrollmentRequestId && ( @@ -753,7 +754,8 @@ function AddStudentButton({ onClick }: AddStudentButtonProps) { interface StudentSelectorProps { students: StudentWithProgress[] - onSelectStudent: (student: StudentWithProgress) => void + /** Optional callback when student is selected (Link handles navigation) */ + onSelectStudent?: (student: StudentWithProgress) => void onToggleSelection: (student: StudentWithProgress) => void onAddStudent?: () => void title?: string