Skip to content

Commit

Permalink
Made the Model Name Bar Sticky at the top of the Chat Window (#597)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Wall <[email protected]>
  • Loading branch information
mckaywrigley and horizonchasers committed Apr 18, 2023
1 parent fda7840 commit 236b656
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}}
/>
))}
Expand Down

1 comment on commit 236b656

@vercel
Copy link

@vercel vercel bot commented on 236b656 Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.