From 2206c1a8f78159eab3a9681bbdecfee7e0ba2692 Mon Sep 17 00:00:00 2001 From: Siddharth Date: Fri, 27 Oct 2023 14:32:39 +0530 Subject: [PATCH] chore: misc changes --- .../components/captcha-challenge/index.tsx | 24 +++++++++---------- apps/dashboard/.env | 5 ---- 2 files changed, 11 insertions(+), 18 deletions(-) delete mode 100644 apps/dashboard/.env diff --git a/apps/consent/app/components/captcha-challenge/index.tsx b/apps/consent/app/components/captcha-challenge/index.tsx index 24fbace2c3d..bb1c72049c7 100644 --- a/apps/consent/app/components/captcha-challenge/index.tsx +++ b/apps/consent/app/components/captcha-challenge/index.tsx @@ -47,19 +47,17 @@ const CaptchaChallengeComponent: React.FC<{ ) useEffect(() => { - { - window.initGeetest( - { - gt: id, - challenge: challenge, - offline: false, - new_captcha: true, - product: "bind", - lang: "en", - }, - captchaHandler, - ) - } + window.initGeetest( + { + gt: id, + challenge: challenge, + offline: false, + new_captcha: true, + product: "bind", + lang: "en", + }, + captchaHandler, + ) }, [captchaHandler, id, challenge]) return
diff --git a/apps/dashboard/.env b/apps/dashboard/.env deleted file mode 100644 index 987663c4b4a..00000000000 --- a/apps/dashboard/.env +++ /dev/null @@ -1,5 +0,0 @@ -# REPLACE THIS IT IS FOR TESTING -NEXTAUTH_URL=http://localhost:3001 -NEXTAUTH_SECRET="thisismysecret" -# 2db7666c39074da4b399e8b5116ef2c6 -# 2cc1869e52ad47df848a6519b63bb4f4 \ No newline at end of file