Skip to content

Commit

Permalink
send title for new chat
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzishuai committed May 30, 2024
1 parent 9c2722d commit 6bc3d3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/hooks/useNewConvo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ const useNewConvo = (index = 0) => {
}

if (conversation.conversationId === 'new' && !modelsData) {
const appTitle = localStorage.getItem(LocalStorageKeys.APP_TITLE);
// const appTitle = localStorage.getItem(LocalStorageKeys.APP_TITLE);
const appTitle = 'New Chat';
if (appTitle) {
document.title = appTitle;
}
Expand Down

0 comments on commit 6bc3d3d

Please sign in to comment.