diff --git a/packages/insomnia-app/app/ui/components/markdown-preview.tsx b/packages/insomnia-app/app/ui/components/markdown-preview.tsx index 03261e439..851a964cb 100644 --- a/packages/insomnia-app/app/ui/components/markdown-preview.tsx +++ b/packages/insomnia-app/app/ui/components/markdown-preview.tsx @@ -117,16 +117,12 @@ class MarkdownPreview extends PureComponent { render() { const { className, heading } = this.props; const { compiled, renderError } = this.state; - const html = heading ? `

${heading}

\n${compiled}` : compiled; return (
{renderError &&

Failed to render: {renderError}

} -
- {/* Set from above */} +
+ {heading ?

{heading}

: null} +
);