From d2836826e713dd2782fe17b0c28f31e0c6f55573 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Wed, 8 Jan 2025 10:56:22 +0800 Subject: [PATCH] fix: removed unnecessary conditional logic for attachment button #667 --- src/renderer/src/pages/home/Inputbar/Inputbar.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index 857b6ff5..df3d4380 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -461,13 +461,7 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic }) => { disabled={files.length > 0} /> )} - +