mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-27 18:15:49 +08:00
chore: update default language to SQL (#14)
This commit is contained in:
@ -81,7 +81,7 @@ const MessageView = (props: Props) => {
|
|||||||
<pre className={`${className || ""} w-full p-0 my-1`} {...props}>
|
<pre className={`${className || ""} w-full p-0 my-1`} {...props}>
|
||||||
<CodeBlock
|
<CodeBlock
|
||||||
key={Math.random()}
|
key={Math.random()}
|
||||||
language={language || "text"}
|
language={language || "SQL"}
|
||||||
value={String(child.props.children).replace(/\n$/, "")}
|
value={String(child.props.children).replace(/\n$/, "")}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user