From 236b6561483cd1a4cad76ca0049e40dd777296c8 Mon Sep 17 00:00:00 2001 From: Mckay Wrigley Date: Tue, 18 Apr 2023 08:37:45 -0600 Subject: [PATCH] Made the Model Name Bar Sticky at the top of the Chat Window (#597) Co-authored-by: Chris Wall --- components/Chat/Chat.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index 1bda61f..4e583e5 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -471,7 +471,10 @@ export const Chat = memo(({ stopConversationRef }: Props) => { onEdit={(editedMessage) => { setCurrentMessage(editedMessage); // discard edited message and the ones that come after then resend - handleSend(editedMessage, selectedConversation?.messages.length - index); + handleSend( + editedMessage, + selectedConversation?.messages.length - index, + ); }} /> ))}