fix: removed plain chat from app.cal.com/video (#18385)

* fix: removed plain chat from app.cal.com/video

* take user session and open plain out of use effect

* move undefined check and screen size check above useeffect

* turned restrcited paths into env var

* undefeined window below hooks

* chore: add window check

* fix: infinite re rendering

* remove console.log

---------

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
NizzyandUdit Takkar authored and GitHub committed 2024-12-27 18:42:36 +00:00
1 parent a697857fa0
commit a27e1498b8
3 files changed
+167 -145

No files matched your search

+1
View File
@@ -114,6 +114,7 @@ PLAIN_API_URL=https://api.plain.com/v1
PLAIN_HMAC_SECRET_KEY=
PLAIN_CHAT_ID=
PLAIN_CHAT_HMAC_SECRET_KEY=
NEXT_PUBLIC_PLAIN_CHAT_EXCLUDED_PATHS=
# Zendesk Config
NEXT_PUBLIC_ZENDESK_KEY=