This commit is contained in:
Timothy Jaeryang Baek
2026-03-21 18:11:08 -05:00
parent 5b026b2a3e
commit 78dbad5e1e
@@ -157,8 +157,8 @@
await archiveChatById(localStorage.token, id); await archiveChatById(localStorage.token, id);
if ($chatId === id) { if ($chatId === id) {
await goto('/');
chatId.set(''); chatId.set('');
window.history.replaceState({}, '', '/');
} }
dispatch('change'); dispatch('change');