We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba0378 commit bb55c98Copy full SHA for bb55c98
src/components/mdx-runtime/link.tsx
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
2
3
interface LinkProps {
4
children?: ReactNode;
5
- href: string;
+ href?: string | undefined;
6
}
7
8
export const Link = (props: LinkProps) => {
src/pages/blog/[slug].tsx
@@ -1,7 +1,6 @@
1
import { readFileSync, readdirSync } from 'node:fs';
import path from 'node:path';
import rehypeShikiFromHighlighter from '@shikijs/rehype/core';
-// @ts-expect-error no exported member
import { compileMDX } from 'next-mdx-remote/rsc';
import rehypeKatex from 'rehype-katex';
import remarkMath from 'remark-math';
0 commit comments