intercom update

This commit is contained in:
Vladyslav Matsiiako
2023-06-22 14:59:55 -07:00
parent 7b3bd54386
commit 0a6e8e009b
2 changed files with 5 additions and 4 deletions
@@ -50,18 +50,16 @@ export const load = () => {
}
}
})();
console.log("loaded", APP_ID);
}
// Initializes Intercom
export const boot = (options = {}) => {
console.log("boot", options)
window &&
window.Intercom &&
window.Intercom("boot", { app_id: APP_ID, ...options });
console.log("booted");
};
export const update = () => {
window && window.Intercom && window.Intercom("update");
console.log("updated");
};