diff --git a/src/app/Routes.tsx b/src/app/Routes.tsx index 8788cde68..c6b51844d 100755 --- a/src/app/Routes.tsx +++ b/src/app/Routes.tsx @@ -159,8 +159,6 @@ const OneTapLoginComponent = () => { const IntercomBootupComponent = () => { const { isAuthenticated, user, getAccessTokenSilently } = useAuth0(); - const APP_ID = "tfvurn19"; - React.useEffect(() => { if (window?.Intercom) { window.Intercom("update"); @@ -192,7 +190,7 @@ const IntercomBootupComponent = () => { // @ts-ignore window.Intercom("boot", { api_base: "https://api-iam.intercom.io", - app_id: APP_ID, + app_id: "tfvurn19", name: user?.name, // Full name email: user?.email, // the email for your user user_id: user?.sub, // user_id as a string @@ -208,7 +206,7 @@ const IntercomBootupComponent = () => { // @ts-ignore window.Intercom("boot", { api_base: "https://api-iam.intercom.io", - app_id: APP_ID, + app_id: "tfvurn19", }); } }, [isAuthenticated]);