We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b73dabe commit f9a2e5fCopy full SHA for f9a2e5f
app/[docs_id]/markdown.tsx
@@ -47,7 +47,7 @@ const components: Components = {
47
pre: ({ node, ...props }) => props.children,
48
code: ({ node, className, ref, style, ...props }) => <CodeComponent {...{ node, className, ref, style, ...props }} />,
49
};
50
-function CodeComponent({ node, className, ref, style, ...props }: { node: any; className?: string; ref?: any; style?: any; [key: string]: any }) {
+function CodeComponent({ node, className, ref, style, ...props }: { node: unknown; className?: string; ref?: unknown; style?: unknown; [key: string]: unknown }) {
51
const theme = useChangeTheme();
52
const codetheme= theme === "tomorrow" ? tomorrow : twilight;
53
const match = /^language-(\w+)(-repl|-exec|-readonly)?\:?(.+)?$/.exec(
0 commit comments