mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
wip: desktop/web app
This commit is contained in:
parent
f1ed287338
commit
7cb42a3f3f
1 changed files with 3 additions and 1 deletions
|
|
@ -175,7 +175,9 @@ export default function Page() {
|
|||
setInputValue("")
|
||||
inputRef?.blur()
|
||||
|
||||
const session = local.session.active() ?? (await sdk.session.create().then((x) => x.data!))
|
||||
const session =
|
||||
(local.layout.rightPane() ? local.session.active() : undefined) ??
|
||||
(await sdk.session.create().then((x) => x.data!))
|
||||
local.session.setActive(session!.id)
|
||||
local.layout.openRightPane()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue