app: pre-warm project globalSync state when navigate project via keybind (#19088)
parent
9717383823
commit
3ea72aec21
|
|
@ -967,6 +967,8 @@ export default function Layout(props: ParentProps) {
|
|||
: projects[(index + offset + projects.length) % projects.length]
|
||||
if (!target) return
|
||||
|
||||
// warm up child store to prevent flicker
|
||||
globalSync.child(target.worktree)
|
||||
openProject(target.worktree)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue