diff --git a/agenta-web/src/components/Playground/Views/TestView.tsx b/agenta-web/src/components/Playground/Views/TestView.tsx index 95a0a72690..2f0cc86450 100644 --- a/agenta-web/src/components/Playground/Views/TestView.tsx +++ b/agenta-web/src/components/Playground/Views/TestView.tsx @@ -219,7 +219,7 @@ const BoxComponent: React.FC = ({ } }, [traceSpans]) - const activeTrace = useMemo(() => (traces ? (traces[0] ?? null) : null), [traces]) + const activeTrace = useMemo(() => (traces ? traces[0] ?? null : null), [traces]) const [selected, setSelected] = useState("") useEffect(() => {