Fixed the typeerror issue

This commit is contained in:
Vladyslav Matsiiako
2023-06-12 20:56:19 -07:00
parent 5882eb6f8a
commit 22ca4f2e92
+2 -2
View File
@@ -125,8 +125,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
)(); )();
window.Intercom('boot', { window.Intercom('boot', {
app_id: {INTERCOM_ID}, app_id: {INTERCOM_ID} || "undefined",
email: user.email || 'undefined' email: user?.email || 'undefined'
}); });
}, []); }, []);