From 7979bf5894da5f814c84cc1251d1b1d1981eb065 Mon Sep 17 00:00:00 2001 From: chavda-bhavik Date: Tue, 19 Mar 2024 10:28:14 +0530 Subject: [PATCH] fix: onboarding widget configuration --- apps/web/components/common/Support.tsx | 9 +++++++++ apps/web/layouts/AppLayout/AppLayout.tsx | 9 --------- apps/web/next.config.js | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/web/components/common/Support.tsx b/apps/web/components/common/Support.tsx index 6db941fd3..900f87dbc 100644 --- a/apps/web/components/common/Support.tsx +++ b/apps/web/components/common/Support.tsx @@ -1,3 +1,4 @@ +import Script from 'next/script'; import getConfig from 'next/config'; import Tracker from '@openreplay/tracker'; import { useEffect, useRef } from 'react'; @@ -59,6 +60,14 @@ export function Support({ profile }: SupportProps) { ref={twakRef} /> ) : null} + {publicRuntimeConfig.NEXT_PUBLIC_ONBOARDING_TOKEN && ( +