Fix javascript-repl renderer to use console-block component

This commit is contained in:
Mario Zechner 2025-10-04 21:44:23 +02:00
parent 8212623af0
commit 9d6267a915
5 changed files with 55 additions and 34 deletions

View file

@ -286,11 +286,7 @@ export const javascriptReplRenderer: ToolRenderer<JavaScriptReplParams, JavaScri
return html`
<div class="flex flex-col gap-3">
${
output
? html`<div class="font-mono text-xs whitespace-pre-wrap bg-muted/50 p-3 rounded-md border">${output}</div>`
: ""
}
${output ? html`<console-block .content=${output}></console-block>` : ""}
${
attachments.length
? html`<div class="flex flex-wrap gap-2">