2
0

🐛 Chatwoot widget open should not unmount bot if standard or popup

This commit is contained in:
Baptiste Arnaud
2023-12-21 18:44:59 +01:00
parent f4a0935c79
commit 512bb09282
5 changed files with 3 additions and 5 deletions

View File

@@ -35,7 +35,6 @@ export const Standard = (
const processIncomingEvent = (event: MessageEvent<CommandData>) => {
const { data } = event
if (!data.isFromTypebot) return
if (data.command === 'unmount') setIsBotDisplayed(false)
}
onCleanup(() => {