Fixed the typeerror issue

This commit is contained in:
Vladyslav Matsiiako
2023-06-12 20:56:19 -07:00
parent 5882eb6f8a
commit 22ca4f2e92

View File

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