fix: Call to Action question bug (#2184)

This commit is contained in:
Piyush Gupta
2024-03-05 15:14:41 +05:30
committed by GitHub
parent f0647ce240
commit 73a25a412c

View File

@@ -17,6 +17,7 @@ export default function HtmlBody({ htmlString, questionId }: HtmlBodyProps) {
}, [htmlString]);
if (!htmlString) return null;
if (safeHtml === `<p class="fb-editor-paragraph"><br></p>`) return null;
return (
<label