Skip to content

Commit 1b075cd

Browse files
Fix OpenTUI text node rendering in branch item toggle
Move space character from conditional JSX expression into string literals to avoid text node reconciliation errors in OpenTUI. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 330eb61 commit 1b075cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/components/branch-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const BranchItem = ({
5353
>
5454
<text wrap={false}>
5555
<span fg={theme.agentToggleText}>
56-
{isCollapsed ? '▸' : '▾'}{' '}
56+
{isCollapsed ? '▸ ' : '▾ '}
5757
</span>
5858
</text>
5959
<box style={{ flexShrink: 1 }}>

0 commit comments

Comments
 (0)