chore: Add explainer to RawHtml

This commit is contained in:
zomars committed 2024-02-19 13:57:01 -07:00
1 parent 05502f0cfb
commit 4c549811a1
1 file changed
+1
@@ -1,3 +1,4 @@
/** @see https://gist.github.com/zomars/4c366a0118a5b7fb391529ab1f27527a */
const RawHtml = ({ html = "" }) => (
<script dangerouslySetInnerHTML={{ __html: `</script>${html}<script>` }} />
);