fix git section bug

pull/5260/head
Joseph Izang 1 month ago committed by Aniket
parent 382b0bebfa
commit e3c722ba48
  1. 2
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -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'}>

Loading…
Cancel
Save