|
@@ -514,7 +514,7 @@ export function WriteTool(props: ToolProps) {
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
<Show when={diagnostics().length > 0}>
|
|
<Show when={diagnostics().length > 0}>
|
|
|
- <div data-component="error">{diagnostics()}</div>
|
|
|
|
|
|
|
+ <ContentError>{diagnostics()}</ContentError>
|
|
|
</Show>
|
|
</Show>
|
|
|
<div data-component="tool-result">
|
|
<div data-component="tool-result">
|
|
|
<Switch>
|
|
<Switch>
|
|
@@ -557,7 +557,7 @@ export function EditTool(props: ToolProps) {
|
|
|
</Switch>
|
|
</Switch>
|
|
|
</div>
|
|
</div>
|
|
|
<Show when={diagnostics().length > 0}>
|
|
<Show when={diagnostics().length > 0}>
|
|
|
- <div data-component="error">{diagnostics()}</div>
|
|
|
|
|
|
|
+ <ContentError>{diagnostics()}</ContentError>
|
|
|
</Show>
|
|
</Show>
|
|
|
</>
|
|
</>
|
|
|
)
|
|
)
|