Skip to content

Commit bb55c98

Browse files
committed
fix: lint error
1 parent aba0378 commit bb55c98

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/mdx-runtime/link.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
22

33
interface LinkProps {
44
children?: ReactNode;
5-
href: string;
5+
href?: string | undefined;
66
}
77

88
export const Link = (props: LinkProps) => {

src/pages/blog/[slug].tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { readFileSync, readdirSync } from 'node:fs';
22
import path from 'node:path';
33
import rehypeShikiFromHighlighter from '@shikijs/rehype/core';
4-
// @ts-expect-error no exported member
54
import { compileMDX } from 'next-mdx-remote/rsc';
65
import rehypeKatex from 'rehype-katex';
76
import remarkMath from 'remark-math';

0 commit comments

Comments
 (0)