Skip to content

Commit

Permalink
fix git section bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joeizang authored and Aniket-Engg committed Oct 15, 2024
1 parent 65c2281 commit e315941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ export function Workspace() {
placement="right"
tooltipId="branchesDropdown"
tooltipClasses="text-nowrap"
tooltipText={'Current branch: ' + currentBranch || 'Branches'}
tooltipText={'Current branch: ' + (currentBranch && currentBranch.name) || 'Branches'}
>
<div className="pt-0 mr-2" data-id="workspaceGitBranchesDropdown">
<Dropdown style={{ height: 30, maxWidth: "6rem", minWidth: "6rem" }} onToggle={toggleBranches} show={showBranches} drop={'up'}>
Expand Down

0 comments on commit e315941

Please sign in to comment.