diff --git a/frontend/src/scenes/session-recordings/player/inspector/components/ItemPerformanceEvent.tsx b/frontend/src/scenes/session-recordings/player/inspector/components/ItemPerformanceEvent.tsx index 10c4cb545efe9..a943176f76440 100644 --- a/frontend/src/scenes/session-recordings/player/inspector/components/ItemPerformanceEvent.tsx +++ b/frontend/src/scenes/session-recordings/player/inspector/components/ItemPerformanceEvent.tsx @@ -364,6 +364,7 @@ export function ItemPerformanceEvent({ ), }, @@ -374,7 +375,11 @@ export function ItemPerformanceEvent({ ), }, @@ -386,7 +391,11 @@ export function ItemPerformanceEvent({ ), } @@ -457,20 +466,23 @@ function BodyDisplay({ function HeadersDisplay({ request, response, + isInitial, }: { request: Record | undefined response: Record | undefined + isInitial?: boolean }): JSX.Element | null { + const emptyMessage = isInitial ? 'captured before PostHog was initialized' : 'No headers captured' return (

Request Headers

- +

Response Headers

- +
)