Skip to content

Commit

Permalink
fix: add reset
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Aug 21, 2024
1 parent 5838fb0 commit 83d7cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/bento.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

declare global {
interface Window {
$bentoChat: any
bentoChatSDK: any
bento$: any
bento: any
Expand Down Expand Up @@ -100,6 +101,6 @@ export function setUser(uuid: string, data: {

export function reset(): void {
chatLoader(() => {
// window.$chatwoot.reset()
window.$bentoChat.reset()
})
}

0 comments on commit 83d7cd2

Please sign in to comment.