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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

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,
);
}}
/>
))}