From 1ae806bd7bda7585db0efb2c3bbf299ea6e85f4c Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Sun, 2 Aug 2026 12:55:40 +0200 Subject: [PATCH] Update 2 files --- src/lib/role-access.test.ts | 2 +- tsconfig.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/role-access.test.ts b/src/lib/role-access.test.ts index bdd6709..afa3066 100644 --- a/src/lib/role-access.test.ts +++ b/src/lib/role-access.test.ts @@ -16,7 +16,7 @@ describe('role access', () => { test('removes empty sections for parent, student, and teacher', () => { const sections = [ { id: 'visible', items: [{ key: 'dashboard' as const }] }, - { id: 'hidden', items: [{ key: 'student-detail' as ViewName }] }, + { id: 'hidden', items: [{ key: 'districts' as ViewName }] }, ]; for (const role of ['PARENT', 'STUDENT', 'TEACHER'] as const) { diff --git a/tsconfig.json b/tsconfig.json index 966d1b0..2773cdb 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -33,9 +33,7 @@ "include": [ "next-env.d.ts", "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts" + "**/*.tsx" ], "exclude": [ "node_modules"