mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
docs: fix diag styles
This commit is contained in:
@@ -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>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user