diff --git a/packages/semi-ui/chat/chatBox/chatBoxContent.tsx b/packages/semi-ui/chat/chatBox/chatBoxContent.tsx index 8c1929ecd8..692063b8bf 100644 --- a/packages/semi-ui/chat/chatBox/chatBoxContent.tsx +++ b/packages/semi-ui/chat/chatBox/chatBoxContent.tsx @@ -68,7 +68,7 @@ const ChatBoxContent = (props: ChatBoxContentProps) => { } else if (item.type === 'file_url') { const { name, size, url, type } = item.file_url; const realType = name.split('.').pop() ?? type?.split('/').pop(); - return ; + return ; } return null; });