chore: update default language to SQL (#14)

This commit is contained in:
boojack
2023-03-31 18:02:49 +08:00
committed by GitHub
parent af53eb773c
commit 2a9d3225b0

View File

@ -81,7 +81,7 @@ const MessageView = (props: Props) => {
<pre className={`${className || ""} w-full p-0 my-1`} {...props}>
<CodeBlock
key={Math.random()}
language={language || "text"}
language={language || "SQL"}
value={String(child.props.children).replace(/\n$/, "")}
{...props}
/>