From 29e271dd5c359deb32cd4b9ea7fe421a18977370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Popin?= Date: Wed, 27 Nov 2024 11:38:17 +0100 Subject: [PATCH] Ext: Various polish (#8937) --- .../assistants/AssistantFavorites.tsx | 34 +++++++++---------- .../conversation/AttachFragment.tsx | 8 ++--- .../app/src/components/input_bar/InputBar.tsx | 2 +- .../input_bar/InputBarCitations.tsx | 2 +- .../input_bar/InputBarContainer.tsx | 2 +- .../app/src/hooks/useFileUploaderService.ts | 6 ++-- 6 files changed, 27 insertions(+), 27 deletions(-) diff --git a/extension/app/src/components/assistants/AssistantFavorites.tsx b/extension/app/src/components/assistants/AssistantFavorites.tsx index a72fa5ed0c4d9..b2dba8de11f55 100644 --- a/extension/app/src/components/assistants/AssistantFavorites.tsx +++ b/extension/app/src/components/assistants/AssistantFavorites.tsx @@ -39,9 +39,9 @@ export function AssistantFavorites() { return (
-
- {hasFavorites ? ( - agentConfigurations.map( + {hasFavorites ? ( +
+ {agentConfigurations.map( ({ sId, name, pictureUrl, lastAuthors, description }) => ( ) - ) - ) : ( -
-

- Your favorite assistants will appear here -

-
- )} -
+ )} +
+ ) : ( +
+

+ Your favorite assistants will appear here +

+
+ )}
); } diff --git a/extension/app/src/components/conversation/AttachFragment.tsx b/extension/app/src/components/conversation/AttachFragment.tsx index d2dd001fa786e..b9cec864bec8d 100644 --- a/extension/app/src/components/conversation/AttachFragment.tsx +++ b/extension/app/src/components/conversation/AttachFragment.tsx @@ -28,7 +28,7 @@ export const AttachFragment = ({
-
+