chore: generate
This commit is contained in:
parent
c0483affa6
commit
d1938a472d
1 changed files with 7 additions and 10 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue