From 715e42cfa8606dfb204b3335dc380d4fa759c52f Mon Sep 17 00:00:00 2001 From: Ethan McElroy Date: Wed, 11 Dec 2024 15:06:21 -0500 Subject: [PATCH] chore: change section elements to div elements --- src/components/chat-transcript-message.tsx | 4 ++-- src/components/chat-transcript.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/chat-transcript-message.tsx b/src/components/chat-transcript-message.tsx index 5fd89a2..0d1d8f1 100644 --- a/src/components/chat-transcript-message.tsx +++ b/src/components/chat-transcript-message.tsx @@ -40,7 +40,7 @@ export const ChatTranscriptMessage = ({message, showDebugLog}: IProps) => { const speakerClass = speaker === DEBUG_SPEAKER ? "debug" : speaker.toLowerCase(); return ( -
{ {messageContent.content} } -
+ ); }; diff --git a/src/components/chat-transcript.tsx b/src/components/chat-transcript.tsx index b812f7b..19faf04 100644 --- a/src/components/chat-transcript.tsx +++ b/src/components/chat-transcript.tsx @@ -11,7 +11,7 @@ interface IProps { } export const ChatTranscriptComponent = observer(({chatTranscript, showDebugLog}: IProps) => { - const chatTranscriptRef = useRef(null); + const chatTranscriptRef = useRef(null); useEffect(() => { // Autoscroll to the top of the latest message in the transcript. @@ -23,9 +23,9 @@ export const ChatTranscriptComponent = observer(({chatTranscript, showDebugLog}: }, [chatTranscript.messages.length]); return ( -
+

DAVAI Chat Transcript

-
); })} -
-
+ + ); });