chore: Refactor deleteChatHistory method to deleteAllChatHistory
This commit is contained in:
@@ -116,7 +116,7 @@ export const SettingOther = () => {
|
||||
|
||||
if (confirm) {
|
||||
const db = new PageAssitDatabase()
|
||||
await db.deleteChatHistory()
|
||||
await db.deleteAllChatHistory()
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ["fetchChatHistory"]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user