Skip to content

Commit 57ce893

Browse files
authored
Fix copy button (#509)
* fix copy button * better copy button fix
1 parent 2a2a8a3 commit 57ce893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ mermaid.initialize({ startOnLoad: true, securityLevel: 'loose' })
109109

110110
export function CodeBlock({
111111
isEmbedded,
112-
showTypeCopyButton,
112+
showTypeCopyButton = true,
113113
...props
114114
}: React.HTMLProps<HTMLPreElement> & {
115115
isEmbedded?: boolean

0 commit comments

Comments
 (0)