diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/sidebar/sidebar.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/sidebar/sidebar.tsx
index 373c4ae63e..69184b7299 100644
--- a/apps/sim/app/workspace/[workspaceId]/logs/components/sidebar/sidebar.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/logs/components/sidebar/sidebar.tsx
@@ -494,8 +494,6 @@ export function Sidebar({
)}
-
-
{/* Enhanced Cost - only show for enhanced logs with actual cost data */}
{log.metadata?.enhanced && hasCostInfo && (
diff --git a/apps/sim/app/workspace/[workspaceId]/logs/components/trace-spans/trace-spans-display.tsx b/apps/sim/app/workspace/[workspaceId]/logs/components/trace-spans/trace-spans-display.tsx
index 5d6aea8e75..373d1df896 100644
--- a/apps/sim/app/workspace/[workspaceId]/logs/components/trace-spans/trace-spans-display.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/logs/components/trace-spans/trace-spans-display.tsx
@@ -1,13 +1,7 @@
'use client'
import { useState } from 'react'
-import {
- ChevronDown,
- ChevronRight,
- Code,
- Cpu,
- ExternalLink,
-} from 'lucide-react'
+import { ChevronDown, ChevronRight, Code, Cpu, ExternalLink } from 'lucide-react'
import {
AgentIcon,
ApiIcon,
@@ -201,17 +195,11 @@ export function TraceSpansDisplay({
// Keep track of expanded spans
const [expandedSpans, setExpandedSpans] = useState>(new Set())
-
-
-
-
// Early return after all hooks
if (!traceSpans || traceSpans.length === 0) {
return
No trace data available
}
-
-
// Find the earliest start time among all spans to be the workflow start time
const workflowStartTime = traceSpans.reduce((earliest, span) => {
const startTime = new Date(span.startTime).getTime()
@@ -244,8 +232,6 @@ export function TraceSpansDisplay({
}
}
-
-
return (
@@ -329,8 +315,6 @@ function TraceSpanItem({
const safeStartPercent = Math.min(100, Math.max(0, relativeStartPercent))
const safeWidthPercent = Math.max(2, Math.min(100 - safeStartPercent, actualDurationPercent))
-
-
// Handle click to expand/collapse this span
const handleSpanClick = () => {
if (hasNestedItems) {
@@ -549,12 +533,12 @@ function TraceSpanItem({