diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index aa746a5b51..5a4c19fc43 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/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'} >