From b9dba7d08b7940956064bc565f6d1bbba4d9b2e9 Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Wed, 15 Jan 2025 18:26:47 -0800 Subject: [PATCH] loading icon fix --- .../void/browser/react/src/sidebar-tsx/SidebarChat.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx index ac54e209..c41c6702 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/sidebar-tsx/SidebarChat.tsx @@ -403,9 +403,6 @@ const ChatBubble = ({ chatMessage, isLoading }: { // edit mode state const [isEditMode, setIsEditMode] = useState(false) - if (!chatMessage.displayContent) - return null - let chatbubbleContents: React.ReactNode if (role === 'user') { @@ -430,7 +427,7 @@ const ChatBubble = ({ chatMessage, isLoading }: { } else if (role === 'assistant') { - chatbubbleContents = + chatbubbleContents = } return