This commit is contained in:
Timothy Jaeryang Baek 2024-12-15 23:52:25 -08:00
parent f341971eae
commit d5152e43d5

View File

@ -110,9 +110,10 @@
if (res) { if (res) {
tags.set(await getAllTags(localStorage.token)); tags.set(await getAllTags(localStorage.token));
if ($chatId === id) { if ($chatId === id) {
await goto('/');
await chatId.set(''); await chatId.set('');
await tick(); await tick();
goto('/');
} }
dispatch('change'); dispatch('change');