Fix delete all chats issue

This commit is contained in:
Webifi
2023-06-08 12:22:19 -05:00
parent 6315fc329e
commit 6eea4a98fb
2 changed files with 6 additions and 2 deletions

View File

@@ -81,6 +81,7 @@
confirmButtonClass: 'is-danger',
confirmButton: 'Delete ALL',
onConfirm: () => {
replace('/').then(() => { deleteChat(chatId) })
clearChats()
}
})