From 6ba95b879a9107a45b158e7809208b09f0bb2fc7 Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Wed, 9 Aug 2023 14:41:17 -0400 Subject: [PATCH] fix(replay): Fix displaying Response headers in Network tab (#54463) We were rendering request headers twice --- static/app/views/replays/detail/network/details/sections.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/views/replays/detail/network/details/sections.tsx b/static/app/views/replays/detail/network/details/sections.tsx index 288d3057f12db..6593be2c54c8b 100644 --- a/static/app/views/replays/detail/network/details/sections.tsx +++ b/static/app/views/replays/detail/network/details/sections.tsx @@ -86,7 +86,7 @@ export function ResponseHeadersSection({item}: SectionProps) { const data = isRequestFrame(item) ? item.data : {}; return ( - {keyValueTableOrNotFound(data.request?.headers, t('Headers not captured'))} + {keyValueTableOrNotFound(data.response?.headers, t('Headers not captured'))} ); }