Move the contributor comment to end of source

This commit is contained in:
Gabe Kangas
2023-01-11 23:50:26 -08:00
parent bcdce2e885
commit aadf721808
2 changed files with 3 additions and 2 deletions

View File

@@ -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} -->` }} />
);