Remove htmlcomment as it gets stripped in build time
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
/* eslint-disable react/no-danger */
|
||||
export const HtmlComment = ({ text }) => (
|
||||
<span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
|
||||
);
|
||||
Reference in New Issue
Block a user