chore: use lint tags (#2952)

This commit is contained in:
Asher Gomez
2025-05-15 09:34:46 +02:00
committed by GitHub
parent f8d390e2c3
commit 20162f6896
8 changed files with 14 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ export function CodeBlock(
<pre
class="rounded-lg text-base leading-relaxed bg-slate-800 text-white p-4 sm:p-6 md:p-4 lg:p-6 2xl:p-8 overflow-x-auto"
data-language={lang}
// deno-lint-ignore react-no-danger
><code dangerouslySetInnerHTML={{ __html: Prism.highlight(code, Prism.languages[lang], lang)}} /></pre>
);
}