diff --git a/packages/app/src/components/titlebar.tsx b/packages/app/src/components/titlebar.tsx index 8e69cd47ab..2d956584a2 100644 --- a/packages/app/src/components/titlebar.tsx +++ b/packages/app/src/components/titlebar.tsx @@ -490,7 +490,6 @@ export function Titlebar(props: { update?: TitlebarUpdate }) { project={projectForSession(tab.info, projects(), projectByID())} directory={tab.dir} onClose={() => tabsStoreActions.removeTab(tab.href)} - hideClose={tabsEnriched().length < 2} /> > )} @@ -737,14 +736,13 @@ function TabNavItem(props: { title: string project?: LocalProject directory: string - hideClose?: boolean onClose: () => void }) { const match = useMatch(() => props.href) const isActive = () => !!match() return (