This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-21 18:10:01 -05:00
1 parent bb3526f4e4
commit 5b026b2a3e
5 files changed
+22 -6

No files matched your search

@@ -155,6 +155,12 @@
const archiveChatHandler = async (id) => {
try {
await archiveChatById(localStorage.token, id);
if ($chatId === id) {
chatId.set('');
window.history.replaceState({}, '', '/');
}
dispatch('change');
toast.success($i18n.t('Chat archived.'));
} catch (error) {