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 e8fa767 commit f14f15bCopy full SHA for f14f15b
packages/collaboration/src/collaboratorspanel.tsx
@@ -177,7 +177,7 @@ export function Collaborator(props: {
177
?.getFileTypesForPath(document)
178
?.filter(ft => ft.icon !== undefined);
179
const icon = fileTypes?.length ? fileTypes[0].icon : fileIcon;
180
- const iconClass: string | undefined = fileTypes
+ const iconClass: string | undefined = fileTypes?.length
181
? fileTypes[0].iconClass
182
: undefined;
183
0 commit comments