mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-03 09:08:52 +01:00
Fixes (#313)
* refactor(endpoints.js): remove console.log statement refactor(index.html): change title to "ChatGPT Clone" * feat(Chat.jsx): set document title to conversation title or VITE_APP_TITLE or 'Chat' if conversation is null
This commit is contained in:
parent
26152d7e5f
commit
8d75b25104
3 changed files with 2 additions and 2 deletions
|
|
@ -53,6 +53,7 @@ export default function Chat() {
|
|||
// conversationId (in url) should always follow conversation?.conversationId, unless conversation is null
|
||||
navigate(`/chat/${conversation?.conversationId}`);
|
||||
}
|
||||
document.title = conversation?.title || import.meta.env.VITE_APP_TITLE || 'Chat';
|
||||
}, [conversation, conversationId]);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue