refac
This commit is contained in:
@@ -492,10 +492,7 @@
|
|||||||
selectedChatId = null;
|
selectedChatId = null;
|
||||||
|
|
||||||
await temporaryChatEnabled.set(false);
|
await temporaryChatEnabled.set(false);
|
||||||
await goto('/');
|
|
||||||
const newChatButton = document.getElementById('new-chat-button');
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
newChatButton?.click();
|
|
||||||
if ($mobile) {
|
if ($mobile) {
|
||||||
showSidebar.set(false);
|
showSidebar.set(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user