fix: Remove unnecessary dispatchWindowEvent (#4288)

This commit is contained in:
Pranav Raj S
2022-03-25 20:25:07 +05:30
committed by GitHub
parent 0667d9f016
commit 971755b845

View File

@@ -154,8 +154,6 @@ export const IFrameHelper = {
IFrameHelper.sendMessage('set-user', window.$chatwoot.user); IFrameHelper.sendMessage('set-user', window.$chatwoot.user);
} }
dispatchWindowEvent({ eventName: CHATWOOT_READY });
window.playAudioAlert = () => {}; window.playAudioAlert = () => {};
initOnEvents.forEach(e => { initOnEvents.forEach(e => {