We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dc363f commit 4619e9dCopy full SHA for 4619e9d
1 file changed
packages/app/src/pages/layout.tsx
@@ -1917,10 +1917,10 @@ export default function Layout(props: ParentProps) {
1917
renderPanel={() => <SidebarPanel project={currentProject()} />}
1918
/>
1919
</div>
1920
- <Show when={!layout.sidebar.opened() ? hoverProjectData() : undefined} keyed>
1921
- {(project) => (
+ <Show when={!layout.sidebar.opened() ? hoverProjectData()?.worktree : undefined} keyed>
+ {(worktree) => (
1922
<div class="absolute inset-y-0 left-16 z-50 flex" onMouseEnter={aim.reset}>
1923
- <SidebarPanel project={project} />
+ <SidebarPanel project={hoverProjectData()} />
1924
1925
)}
1926
</Show>
0 commit comments