diff --git a/components/pages/gists/gists-code.tsx b/components/pages/gists/gists-code.tsx index b9f8530..61254ed 100644 --- a/components/pages/gists/gists-code.tsx +++ b/components/pages/gists/gists-code.tsx @@ -34,7 +34,6 @@ const GistsCode = ({ file, showFileName = false }: Props) => { .use(remarkRehype) .use(remarkGfm) .use(rehypeHighlight) - // @ts-expect-error: the react types are missing. .use(rehypeReact, production) .processSync(`\`\`\`${file.language ?? ''}\n${fileContent}`).result;