diff --git a/features/truth-validation/frontend-admin/src/FeatureValidationPage.tsx b/features/truth-validation/frontend-admin/src/FeatureValidationPage.tsx index 35ac61ef1..0a95f2546 100755 --- a/features/truth-validation/frontend-admin/src/FeatureValidationPage.tsx +++ b/features/truth-validation/frontend-admin/src/FeatureValidationPage.tsx @@ -6,7 +6,7 @@ * and displays results with subject-based filtering. */ -import { useState, useCallback } from 'react'; +import { useCallback, useState } from 'react'; import { configureTruthService, @@ -373,7 +373,7 @@ export const FeatureValidationPage = () => { ) => setShowOnlyInvalid(e.target.checked)} + onChange={(e: ChangeEvent) => setShowOnlyInvalid(e.target.checked)} /> Show only invalid diff --git a/features/truth-validation/frontend-admin/src/components/legal-review/LegalReviewModal.tsx b/features/truth-validation/frontend-admin/src/components/legal-review/LegalReviewModal.tsx index d533f2863..281989589 100755 --- a/features/truth-validation/frontend-admin/src/components/legal-review/LegalReviewModal.tsx +++ b/features/truth-validation/frontend-admin/src/components/legal-review/LegalReviewModal.tsx @@ -159,7 +159,7 @@ export const LegalReviewModal = ({ ) => onEditedContentChange(e.target.value)} + onChange={(e: ChangeEvent) => onEditedContentChange(e.target.value)} placeholder="Edit content for approval..." /> @@ -181,7 +181,7 @@ export const LegalReviewModal = ({ ) => onReviewNotesChange(e.target.value)} + onChange={(e: ChangeEvent) => onReviewNotesChange(e.target.value)} placeholder="Add notes about this review..." /> @@ -192,14 +192,14 @@ export const LegalReviewModal = ({ ) => onUpdateLocaleChange(e.target.checked)} + onChange={(e: ChangeEvent) => onUpdateLocaleChange(e.target.checked)} /> Update locale file ) => onQueueTranslationChange(e.target.checked)} + onChange={(e: ChangeEvent) => onQueueTranslationChange(e.target.checked)} /> Queue i18n translation diff --git a/features/truth-validation/frontend-admin/src/components/truth-validation/ManualValidationSection.tsx b/features/truth-validation/frontend-admin/src/components/truth-validation/ManualValidationSection.tsx index 2ff1374d2..2bd068132 100755 --- a/features/truth-validation/frontend-admin/src/components/truth-validation/ManualValidationSection.tsx +++ b/features/truth-validation/frontend-admin/src/components/truth-validation/ManualValidationSection.tsx @@ -4,7 +4,8 @@ * Manual content validation interface for testing truth validation. */ -import { useState } from 'react'; +import { useState } from 'react' +import type { ChangeEvent } from 'react'; import { Button, Badge, Checkbox } from '@lilith/ui-primitives'; import { useMutation } from '@tanstack/react-query'; @@ -90,7 +91,7 @@ export const ManualValidationSection = () => { ) => setTestContent(e.target.value)} + onChange={(e: ChangeEvent) => setTestContent(e.target.value)} placeholder="Enter content to validate against platform facts..." /> @@ -98,7 +99,7 @@ export const ManualValidationSection = () => { ) => setAutoCorrect(e.target.checked)} + onChange={(e: ChangeEvent) => setAutoCorrect(e.target.checked)} /> Auto-correct issues