From 6e94d20a744b7726fb56994f94c3753d354fbd6a Mon Sep 17 00:00:00 2001 From: eduardruzga Date: Sun, 24 Nov 2024 15:28:49 +0200 Subject: [PATCH] Couple of bugfixes --- app/components/chat/BaseChat.tsx | 2 +- app/components/chat/ExportChatButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index b1d14ea0e..1a33375d6 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -365,7 +365,7 @@ export const BaseChat = React.forwardRef( )} - {() => } + {chatStarted && {() => }} {input.length > 3 ? (
diff --git a/app/components/chat/ExportChatButton.tsx b/app/components/chat/ExportChatButton.tsx index 8972eed1b..6ab294bc1 100644 --- a/app/components/chat/ExportChatButton.tsx +++ b/app/components/chat/ExportChatButton.tsx @@ -5,7 +5,7 @@ import React from 'react'; export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) => { return ( - + exportChat?.()}>