A few fixes

This commit is contained in:
Gregory Schier
2023-04-04 13:31:48 -07:00
parent b3c461afdd
commit 639de4321e
5 changed files with 18 additions and 14 deletions

View File

@@ -84,6 +84,9 @@ export const ResponsePane = memo(function ResponsePane({ style, className }: Pro
[activeResponse?.headers, toggleViewMode, viewMode],
);
// Don't render until we know the view mode
if (viewMode === undefined) return null;
return (
<div
style={style}