From 16e9cd3e02f77dd722c10f4d9614db16cf337a8a Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Mon, 24 Nov 2025 21:23:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Simplify=20rendering=20logi?= =?UTF-8?q?c=20in=20EndpointModelItem=20and=20optimize=20useEffect=20depen?= =?UTF-8?q?dencies=20in=20Conversations=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Chat/Menus/Endpoints/components/EndpointModelItem.tsx | 4 +--- client/src/components/Conversations/Conversations.tsx | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx index 8b588e121..c34413316 100644 --- a/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx +++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx @@ -70,9 +70,7 @@ export function EndpointModelItem({ modelId, endpoint }: EndpointModelItemProps) ); } - return ( -
- ); + return null; }; return ( diff --git a/client/src/components/Conversations/Conversations.tsx b/client/src/components/Conversations/Conversations.tsx index 4af011947..3f47cd66e 100644 --- a/client/src/components/Conversations/Conversations.tsx +++ b/client/src/components/Conversations/Conversations.tsx @@ -152,12 +152,13 @@ const Conversations: FC