From 9663f49dee7b233e4327950145163f4785886b23 Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Fri, 27 Sep 2024 08:03:12 +0200 Subject: [PATCH] copy feedback fix? --- app/components/ConversationFrontend.tsx | 2 +- app/components/InputFrontend.tsx | 8 -------- app/styles/output.css | 4 ++++ 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/components/ConversationFrontend.tsx b/app/components/ConversationFrontend.tsx index e6bfe39..dc3114c 100644 --- a/app/components/ConversationFrontend.tsx +++ b/app/components/ConversationFrontend.tsx @@ -58,7 +58,7 @@ const ConversationFrontend = React.forwardRef -

Copied!

+

Copied!

diff --git a/app/components/InputFrontend.tsx b/app/components/InputFrontend.tsx index c84124b..74539e6 100644 --- a/app/components/InputFrontend.tsx +++ b/app/components/InputFrontend.tsx @@ -13,10 +13,6 @@ const InputFrontend = React.forwardRef( ({ message, onSendClick, onMicClick, inputDisabled, isRecording}, ref: ForwardedRef) => { const [inputValue, setInputValue] = useState(''); - useEffect(() => { - setInputValue(message); - }, [message]); - const handleInputChange = (e: React.ChangeEvent) => { setInputValue(e.target.value); }; @@ -31,10 +27,6 @@ const InputFrontend = React.forwardRef( } }; - const styles = { - - } - return (