Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fixed the typeerror issue

Vladyslav Matsiiako22ca4f2e9277
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'
});
}, []);