mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
feat(Conversation.jsx): set document title when conversation is switched
This commit is contained in:
parent
31cef16cc3
commit
e0b0b68346
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ export default function Conversation({ conversation, retainView }) {
|
|||
// stop existing submission
|
||||
setSubmission(null);
|
||||
|
||||
// set document title
|
||||
document.title = title;
|
||||
|
||||
// set conversation to the new conversation
|
||||
switchToConversation(conversation);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue