diff --git a/ui/litellm-dashboard/src/components/playground/complianceUI/ComplianceUI.tsx b/ui/litellm-dashboard/src/components/playground/complianceUI/ComplianceUI.tsx index 083e3a827f8..efc5fb2ee42 100644 --- a/ui/litellm-dashboard/src/components/playground/complianceUI/ComplianceUI.tsx +++ b/ui/litellm-dashboard/src/components/playground/complianceUI/ComplianceUI.tsx @@ -581,9 +581,8 @@ export default function ComplianceUI({ isMatch: false, triggeredBy: `Error: ${errorMessage}`, status: "complete" as const, - }; - } - setTestResults([...updatedResults]); + })) + ); } setIsRunning(false); }, [