docs: fix diag styles

This commit is contained in:
Jay V 2025-07-10 16:38:48 -04:00
parent 2e5f96fa41
commit 8be1ca836c

View file

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