Made the Model Name Bar Sticky at the top of the Chat Window (#597)

Co-authored-by: Chris Wall <cwall@wooldata.com>
This commit is contained in:
Mckay Wrigley
2023-04-18 08:37:45 -06:00
committed by GitHub
parent fda784028d
commit 236b656148
+4 -1
View File
@@ -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,
);
}}
/>
))}