- {timeline.length === 0 ? (
-
-
- Preparing the investigation…
-
- ) : (
- timeline.map((event) => {
- const label = eventLabel(event)
- if (!label) return null
- return (
-
-
- {eventIcon(event)}
-
-
- {label}
- {event.type === "tool" && event.toolName ? (
-
- {event.toolName}
-
- ) : null}
-
-
- )
- })
- )}
-