From d00984ba81220bd47bb443dd74c984004cc1e353 Mon Sep 17 00:00:00 2001 From: Jing Hua Date: Sat, 11 Mar 2023 19:28:07 +0800 Subject: [PATCH] hide download chat button during chat generation Fixes #57 --- src/components/Chat/ChatContent/ChatContent.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Chat/ChatContent/ChatContent.tsx b/src/components/Chat/ChatContent/ChatContent.tsx index 53ce7b7..aafd070 100644 --- a/src/components/Chat/ChatContent/ChatContent.tsx +++ b/src/components/Chat/ChatContent/ChatContent.tsx @@ -91,7 +91,9 @@ const ChatContent = () => { )}
- + {useStore.getState().generating || ( + + )}