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

@@ -50,6 +50,7 @@
let showDeleteConfirmDialog = false;
export let onUpdate = () => {};
export let onDelete: (id: string) => void = () => {};
export let loadHandler: null | Function = null;
export let unarchiveHandler: null | Function = null;
@@ -69,6 +70,9 @@
toast.error(`${error}`);
});
if (res) {
onDelete(chatId);
}
onUpdate();
};
</script>