chore: generate
This commit is contained in:
parent
106f8e94d6
commit
21a644fef5
12 changed files with 40 additions and 50 deletions
|
|
@ -6,11 +6,7 @@ import { useClipboard } from "../context/clipboard"
|
|||
import { InstallationVersion } from "@opencode-ai/core/installation/version"
|
||||
import { destroyRenderer } from "../util/renderer"
|
||||
|
||||
export function ErrorComponent(props: {
|
||||
error: Error
|
||||
reset: () => void
|
||||
mode?: "dark" | "light"
|
||||
}) {
|
||||
export function ErrorComponent(props: { error: Error; reset: () => void; mode?: "dark" | "light" }) {
|
||||
const term = useTerminalDimensions()
|
||||
const renderer = useRenderer()
|
||||
const clipboard = useClipboard()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue