Skip to content

Commit 0ad80c2

Browse files
fix(create-modal): add fallback for teaminfo null when loading (#7008)
1 parent 33495cd commit 0ad80c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/components/CreateSandbox/CreateSandbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export const CreateSandbox: React.FC<CreateSandboxProps> = ({
426426
<Panel tab={tabState} id="team-templates">
427427
<TemplateCategoryList
428428
title={`${
429-
isUser ? 'My' : activeTeamInfo.name
429+
isUser ? 'My' : activeTeamInfo?.name || 'Team'
430430
} templates`}
431431
templates={teamTemplates}
432432
onSelectTemplate={template => {

0 commit comments

Comments
 (0)