Move the contributor comment to end of source
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* eslint-disable react/no-danger */
|
||||
export const HtmlComment = ({ text }) => (
|
||||
<div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />
|
||||
<span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user