From 5dd4b62bcc35529ab9d1e6290a4937aa3c70d9a8 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Mon, 2 Jun 2025 12:31:58 +0700 Subject: [PATCH] fix: tooltip tools chat input --- web-app/src/containers/ChatInput.tsx | 50 +++++++++++++++------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsx index db07d1f60..1fe0d413c 100644 --- a/web-app/src/containers/ChatInput.tsx +++ b/web-app/src/containers/ChatInput.tsx @@ -462,30 +462,32 @@ const ChatInput = ({ - - {(isOpen, toolsCount) => ( -
- - {toolsCount > 0 && ( -
- - {toolsCount > 99 ? '99+' : toolsCount} - -
- )} -
- )} -
+
+ + {(isOpen, toolsCount) => ( +
+ + {toolsCount > 0 && ( +
+ + {toolsCount > 99 ? '99+' : toolsCount} + +
+ )} +
+ )} +
+

Tools