From 17f1a244337065ba2f4dda8b43edbdbf709a18c4 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 857b6ff5fd..df3d4380d3 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} /> )} - +