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 2f2d7f0 commit eab6011Copy full SHA for eab6011
1 file changed
packages/fluent-theme/src/components/activity/CopilotMessageHeader.tsx
@@ -38,7 +38,7 @@ function CopilotMessageHeader(props: CopilotMessageHeaderProps) {
38
39
const author = useFirstActivityAuthor(activity);
40
const avatarImage = author?.image[0] || botAvatarImage;
41
- const botTitle = author?.name[0] || activity?.from?.name;
+ const botTitle = (author?.name[0] || activity?.from?.name) ?? '';
42
43
return (
44
<div className={cx(classNames['copilot-message-header'], className)}>
0 commit comments