mirror of
https://github.com/sst/opencode.git
synced 2025-08-29 01:14:06 +00:00
docs: fix diag styles
This commit is contained in:
parent
2e5f96fa41
commit
8be1ca836c
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
</>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue