Add a little comment for those viewing HTML source that we could use contributors

This commit is contained in:
Gabe Kangas
2023-01-11 18:26:54 -08:00
parent bfb245efe2
commit 9cc7b1cf2d
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
/* eslint-disable react/no-danger */
export const HtmlComment = ({ text }) => (
<div dangerouslySetInnerHTML={{ __html: `<!-- ${text} -->` }} />
);