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
+2
View File
@@ -128,6 +128,7 @@ export function TableOfContents({ headings }: TableOfContentsProps) {
<a
href={`#${heading.id}`}
class="block truncatetext-gray-600"
// deno-lint-ignore react-no-danger
dangerouslySetInnerHTML={{ __html: heading.html }}
/>
</li>
@@ -166,6 +167,7 @@ export function TableOfContents({ headings }: TableOfContentsProps) {
heading.id,
);
}}
// deno-lint-ignore react-no-danger
dangerouslySetInnerHTML={{ __html: heading.html }}
/>
</li>