From e48b8c97924a0439ad41e23313e07936b0c3992e Mon Sep 17 00:00:00 2001 From: cmuangs Date: Thu, 31 Jul 2025 10:05:56 +0800 Subject: [PATCH] fix assistant dropdown onClick not triggered consistently (#5991) --- web-app/src/containers/DropdownAssistant.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/web-app/src/containers/DropdownAssistant.tsx b/web-app/src/containers/DropdownAssistant.tsx index 7849e8769..44a24e5e6 100644 --- a/web-app/src/containers/DropdownAssistant.tsx +++ b/web-app/src/containers/DropdownAssistant.tsx @@ -79,14 +79,14 @@ const DropdownAssistant = () => { className="relative pr-6 hover:bg-main-view-fg/4 rounded-sm" key={assistant.id} > - -
{ - setCurrentAssistant(assistant) - updateCurrentThreadAssistant(assistant) - }} - > + { + setCurrentAssistant(assistant) + updateCurrentThreadAssistant(assistant) + }} + > +
{assistant?.avatar && (