diff --git a/frontend/src/components/utilities/intercom/intercom.ts b/frontend/src/components/utilities/intercom/intercom.ts index 94079bc2b..6de514ff4 100644 --- a/frontend/src/components/utilities/intercom/intercom.ts +++ b/frontend/src/components/utilities/intercom/intercom.ts @@ -50,6 +50,7 @@ export const load = () => { } } })(); + console.log("loaded", APP_ID); } // Initializes Intercom @@ -57,8 +58,10 @@ export const 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"); }; \ No newline at end of file diff --git a/frontend/src/components/utilities/intercom/intercomProvider.ts b/frontend/src/components/utilities/intercom/intercomProvider.ts index e7944a7b1..1c033da7f 100644 --- a/frontend/src/components/utilities/intercom/intercomProvider.ts +++ b/frontend/src/components/utilities/intercom/intercomProvider.ts @@ -12,6 +12,7 @@ export const IntercomProvider = ({ children }: { children: any }) => { const router = useRouter(); if (typeof window !== "undefined") { + console.log("window is defined"); loadIntercom(); bootIntercom(); }