A few fixes

This commit is contained in:
Gregory Schier
2023-04-04 13:31:48 -07:00
parent b594a4690f
commit 452a0c3ed5
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}