refac
This commit is contained in:
1 parent
a529343b2b
commit
623aa08b9e
1 file changed
+4
@@ -528,6 +528,10 @@
|
||||
on:click={async () => {
|
||||
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||
await goto('/');
|
||||
const newChatButton = document.getElementById('new-chat-button');
|
||||
setTimeout(() => {
|
||||
newChatButton?.click();
|
||||
}, 0);
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user