diff options
| -rw-r--r-- | packages/app/src/pages/layout.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/app/src/pages/layout.tsx b/packages/app/src/pages/layout.tsx index e8435c3f9..13d15bdce 100644 --- a/packages/app/src/pages/layout.tsx +++ b/packages/app/src/pages/layout.tsx @@ -1917,10 +1917,10 @@ export default function Layout(props: ParentProps) { renderPanel={() => <SidebarPanel project={currentProject()} />} /> </div> - <Show when={!layout.sidebar.opened() ? hoverProjectData() : undefined} keyed> - {(project) => ( + <Show when={!layout.sidebar.opened() ? hoverProjectData()?.worktree : undefined} keyed> + {(worktree) => ( <div class="absolute inset-y-0 left-16 z-50 flex" onMouseEnter={aim.reset}> - <SidebarPanel project={project} /> + <SidebarPanel project={hoverProjectData()} /> </div> )} </Show> |
