Skip to content

Commit f9a2e5f

Browse files
committed
コード整形
1 parent b73dabe commit f9a2e5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/[docs_id]/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const components: Components = {
4747
pre: ({ node, ...props }) => props.children,
4848
code: ({ node, className, ref, style, ...props }) => <CodeComponent {...{ node, className, ref, style, ...props }} />,
4949
};
50-
function CodeComponent({ node, className, ref, style, ...props }: { node: any; className?: string; ref?: any; style?: any; [key: string]: any }) {
50+
function CodeComponent({ node, className, ref, style, ...props }: { node: unknown; className?: string; ref?: unknown; style?: unknown; [key: string]: unknown }) {
5151
const theme = useChangeTheme();
5252
const codetheme= theme === "tomorrow" ? tomorrow : twilight;
5353
const match = /^language-(\w+)(-repl|-exec|-readonly)?\:?(.+)?$/.exec(

0 commit comments

Comments
 (0)