mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(desktop): busy state and reactivity
This commit is contained in:
parent
13f319b64f
commit
333b8e907b
6 changed files with 33 additions and 29 deletions
|
|
@ -266,7 +266,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
if (!existing) {
|
||||
const created = await sdk.client.session.create()
|
||||
existing = created.data ?? undefined
|
||||
if (existing) navigate(`${local.slug()}/session/${existing.id}`)
|
||||
if (existing) navigate(existing.id)
|
||||
}
|
||||
if (!existing) return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue