Skip to content

The open source coding agent.

TypeScript

chore: generate

opencode-agent[bot]d1938a472d58
diff --git a/packages/app/src/pages/session.tsx b/packages/app/src/pages/session.tsx
index aadf18f13e1..16b38cbd327 100644
--- a/packages/app/src/pages/session.tsx
+++ b/packages/app/src/pages/session.tsx
@@ -496,16 +496,13 @@ export default function Page() {
const hasScrollGesture = () => Date.now() - ui.scrollGesture < scrollGestureWindowMs
createEffect(
- on(
- [() => sdk.directory, () => params.id] as const,
- ([, id]) => {
- if (!id) return
- untrack(() => {
- void sync.session.sync(id)
- void sync.session.todo(id)
- })
- },
- ),
+ on([() => sdk.directory, () => params.id] as const, ([, id]) => {
+ if (!id) return
+ untrack(() => {
+ void sync.session.sync(id)
+ void sync.session.todo(id)
+ })
+ }),
)
createEffect(