We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5893ea commit 4e7439dCopy full SHA for 4e7439d
packages/app/src/app/components/WorkspaceSelect/WorkspaceSelect.tsx
@@ -70,12 +70,12 @@ export const WorkspaceSelect: React.FC<WorkspaceSelectProps> = React.memo(
70
<Stack align="center" gap={1} css={{ paddingRight: 4 }}>
71
<Text
72
size={16}
73
- maxWidth={selectedTeam.subscription ? 166 : 126}
+ maxWidth={selectedTeam?.subscription ? 166 : 126}
74
>
75
- {isPersonalTeam ? 'Personal' : selectedTeam.name}
+ {isPersonalTeam ? 'Personal' : selectedTeam?.name}
76
</Text>
77
78
- {!selectedTeam.subscription && (
+ {!selectedTeam?.subscription && (
79
<Badge color="accent">Free</Badge>
80
)}
81
</Stack>
0 commit comments