diff --git a/apps/client/src/pages/courthouse.tsx b/apps/client/src/pages/courthouse.tsx index c905bd812..0279fa9ce 100644 --- a/apps/client/src/pages/courthouse.tsx +++ b/apps/client/src/pages/courthouse.tsx @@ -30,7 +30,7 @@ export default function Courthouse(props: Props) { const { hasPermissions } = usePermission(); const hasEntriesPerms = hasPermissions([Permissions.Leo]); const hasCourthouseAdminPerms = hasPermissions(defaultPermissions.defaultCourthousePermissions); - const enabledTypes = options.COURTHOUSE; + const enabledTypes = options.COURTHOUSE ?? []; const expungementRequestsEnabled = enabledTypes.includes(CourthouseType.EXPUNGEMENT_REQUEST); const nameChangeRequestsEnabled = enabledTypes.includes(CourthouseType.NAME_CHANGE_REQUEST);