mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
fix(app): resync session model on session change
This commit is contained in:
parent
31e92f1454
commit
638a025ab4
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ export default function Page() {
|
|||
|
||||
createEffect(
|
||||
on(
|
||||
() => lastUserMessage()?.id,
|
||||
() => [params.id, lastUserMessage()?.id] as const,
|
||||
() => {
|
||||
const msg = lastUserMessage()
|
||||
if (!msg) return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue