mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ignore: fix session activation after creation to ensure proper state management
This commit is contained in:
parent
82249754e7
commit
18e549a474
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,6 @@ export default function Page() {
|
|||
session = created.data ?? undefined
|
||||
}
|
||||
if (!session) return
|
||||
local.session.setActive(session.id)
|
||||
|
||||
interface SubmissionAttachment {
|
||||
path: string
|
||||
|
|
@ -262,6 +261,7 @@ export default function Page() {
|
|||
],
|
||||
},
|
||||
})
|
||||
local.session.setActive(session.id)
|
||||
}
|
||||
|
||||
const handleNewSession = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue