MAESTRO: fix linting and formatting

This commit is contained in:
Mariusz Banach
2026-02-18 04:55:03 +01:00
parent af339e784e
commit 930495cd00
13 changed files with 22 additions and 29 deletions

View File

@@ -105,8 +105,16 @@ const timeoutReport: AnalysisReport = {
};
const AnalysisHarness = ({ request, onStatusChange }: HarnessProps) => {
const { status, progress, result, error, submit, cancel, captchaChallenge, clearCaptchaChallenge } =
useAnalysis();
const {
status,
progress,
result,
error,
submit,
cancel,
captchaChallenge,
clearCaptchaChallenge,
} = useAnalysis();
useEffect(() => {
onStatusChange?.(status);

View File

@@ -105,8 +105,7 @@ export default function CaptchaChallenge({
),
).filter(
(element) =>
!element.hasAttribute("disabled") &&
element.getAttribute("aria-hidden") !== "true",
!element.hasAttribute("disabled") && element.getAttribute("aria-hidden") !== "true",
);
if (focusableElements.length === 0) {

View File

@@ -167,7 +167,6 @@ export default function FileDropZone({ onFileContent }: FileDropZoneProps) {
role="button"
aria-label="Drop or select an EML or TXT file"
aria-describedby={describedBy}
aria-invalid={error ? "true" : undefined}
>
<div className="mx-auto flex h-12 w-12 items-center justify-center rounded-full border border-info/30 bg-background/40">
<FontAwesomeIcon icon={faArrowUpFromBracket} className="text-sm text-info" />