Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update crisp chat showing

Dillion Vermac335c54699b6
diff --git a/components/crisp-chat.tsx b/components/crisp-chat.tsx
index 189960ea..73cd9cd5 100644
--- a/components/crisp-chat.tsx
+++ b/components/crisp-chat.tsx
@@ -14,11 +14,11 @@ export function CrispChat() {
autoload: false,
});
- if (!session?.user) {
- Crisp.chat.show();
- } else {
- Crisp.chat.hide();
- }
+ // if (!session?.user) {
+ Crisp.chat.show();
+ // } else {
+ // Crisp.chat.hide();
+ // }
if (session?.user?.email) {
Crisp.user.setEmail(session.user.email);