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:
parent
fda784028d
commit
236b656148
|
@ -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,
|
||||
);
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue