diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index a2e052588e..97b27f8851 100644 --- a/frontend/src/layouts/AppLayout/AppLayout.tsx +++ b/frontend/src/layouts/AppLayout/AppLayout.tsx @@ -125,8 +125,8 @@ export const AppLayout = ({ children }: LayoutProps) => { )(); window.Intercom('boot', { - app_id: {INTERCOM_ID}, - email: user.email || 'undefined' + app_id: {INTERCOM_ID} || "undefined", + email: user?.email || 'undefined' }); }, []);