From 78d40a8bf7adbed51d8fa954eb833b7af59169e8 Mon Sep 17 00:00:00 2001 From: ecwu Date: Sun, 5 Jan 2025 23:26:35 +0800 Subject: [PATCH] refactor: streamline ToolsDropdownList by removing unnecessary props and enhancing button functionality --- src/components/ListAPI.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/ListAPI.tsx b/src/components/ListAPI.tsx index 259d9fb..90efd11 100644 --- a/src/components/ListAPI.tsx +++ b/src/components/ListAPI.tsx @@ -137,19 +137,9 @@ function ToolsDropdownList() { const { chatStore, setChatStore } = ctx; return ( - + {Tr(`Tools`)} -
    @@ -177,6 +167,16 @@ function ToolsDropdownList() {
    +