Skip to content

Commit f8b6b16

Browse files
committed
fix(e): disable temporarly pla n customer idetification
1 parent 7b85e98 commit f8b6b16

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

frontend/src/lib/waitForClerk.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function identify(clerk: Clerk) {
3535
email: clerk.user?.primaryEmailAddress?.emailAddress,
3636
});
3737

38-
if (typeof Plain !== "undefined") {
39-
Plain?.setCustomerDetails({
40-
clerkId: clerk.user?.id,
41-
email: clerk.user?.primaryEmailAddress?.emailAddress,
42-
});
43-
}
38+
// if (typeof Plain !== "undefined") {
39+
// Plain?.setCustomerDetails({
40+
// clerkId: clerk.user?.id,
41+
// email: clerk.user?.primaryEmailAddress?.emailAddress,
42+
// });
43+
// }
4444
}

frontend/vite.cloud.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export default defineConfig((config) => {
2020
Plain.init({
2121
appId: 'liveChatApp_01K5D3WHR3CGKA56RPRMBB7FX0',
2222
hideLauncher: true,
23+
theme: 'dark',
24+
primaryColor: '#FF4F00',
2325
});
2426
};
2527
script.src = 'https://chat.cdn-plain.com/index.js';

0 commit comments

Comments
 (0)