'use client'; import { useTranslation } from '../../../i18n/useTranslation'; type Props = { fixableFiles: string[] selectedFiles: string[] isAutoFixing: boolean forceConvertToClient: boolean onToggleFile: (file: string) => void onSelectAll: () => void onClear: () => void onToggleForceConvertToClient: () => void onRunFixSelected: () => void } export default function ScanFixPanel({ fixableFiles, selectedFiles, isAutoFixing, forceConvertToClient, onToggleFile, onSelectAll, onClear, onToggleForceConvertToClient, onRunFixSelected, }: Props) { const { t } = useTranslation(); return (

{t('autofix.k43218db0')}

{t('autofix.k34a0a2e4')}

{t('autofix.k6569783c')}

{fixableFiles.length === 0 ? (
{t('autofix.ke3480838')}
) : (
{fixableFiles.map((file) => { const checked = selectedFiles.includes(file) return ( ) })}
)}

Selected: {selectedFiles.length} / {fixableFiles.length}

) }