fix: remove unused imports and dead code to clear ESLint errors

This commit is contained in:
Ryan Moon
2026-04-01 20:34:56 -05:00
parent a73c2de26e
commit 05f926c0dc
23 changed files with 34 additions and 54 deletions

View File

@@ -67,7 +67,7 @@ function SessionDetailPage() {
enabled: !!session?.enrollmentId,
})
const { data: instructorData } = useQuery({
useQuery({
...instructorDetailOptions(session?.substituteInstructorId ?? enrollment?.instructorId ?? ''),
enabled: !!(session?.substituteInstructorId ?? enrollment?.instructorId),
})