remove hardcoded tiername when missing tier (#21022)

This commit is contained in:
Sehoon Shon
2026-03-03 17:16:37 -05:00
committed by GitHub
parent f3bbe6e77a
commit c70c95ead3
2 changed files with 30 additions and 6 deletions

View File

@@ -53,12 +53,14 @@ export const UserIdentity: React.FC<UserIdentityProps> = ({ config }) => {
</Box>
{/* Tier Name /upgrade */}
<Box>
<Text color={theme.text.primary} wrap="truncate-end">
{tierName ?? 'Gemini Code Assist for individuals'}
</Text>
<Text color={theme.text.secondary}> /upgrade</Text>
</Box>
{tierName && (
<Box>
<Text color={theme.text.primary} wrap="truncate-end">
{tierName}
</Text>
<Text color={theme.text.secondary}> /upgrade</Text>
</Box>
)}
</Box>
);
};