fix: fix edit file tool render abnormal
This commit is contained in:
parent
9c6d1d0b4c
commit
7b7c017d7a
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export function EditFile(props: EditToolCallProps) {
|
|||
return null;
|
||||
}
|
||||
|
||||
const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath)} ${props.relativeFilePath}${props.changes ? "\n" + props.changes + "\n" : ""}\`\`\``;
|
||||
const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath)} ${props.relativeFilePath}${props.changes ? "\n" + props.changes + "\n" : "\n"}\`\`\``;
|
||||
|
||||
return (
|
||||
<StyledMarkdownPreview
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue