Skip to content

Commit c1f8d5f

Browse files
charlesvienjonathanlab
authored andcommitted
Revert "Hide the split button when the panel has only one tab"
This reverts commit e83ac75.
1 parent 558c654 commit c1f8d5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/twig/src/renderer/features/panels/components/TabbedPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export const TabbedPanel: React.FC<TabbedPanelProps> = ({
202202
background: "var(--color-background)",
203203
}}
204204
>
205-
{onSplitPanel && content.tabs.length > 1 && (
205+
{onSplitPanel && (
206206
<TabBarButton
207207
ariaLabel="Split panel"
208208
onClick={handleSplitClick}

0 commit comments

Comments
 (0)