Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-05-28 21:57:27 +00:00
parent 922a652c7e
commit f3308f362a

View file

@ -99,7 +99,11 @@ export function SkillTestPanel({
}
return data as TestResult;
},
onSuccess: (r) => {
setResult(r);
qc.invalidateQueries({ queryKey: ["skill-test-runs", skillVersionId] });
},
onError: (e: unknown) => {
setResult({
status: "error",
duration_ms: 0,
@ -108,6 +112,7 @@ export function SkillTestPanel({
},
});
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-2xl w-full max-h-[90vh] overflow-y-auto">