diff --git a/apps/demo/pages/app/index.tsx b/apps/demo/pages/app/index.tsx index 3a89040ba9..cf3d6b1b99 100644 --- a/apps/demo/pages/app/index.tsx +++ b/apps/demo/pages/app/index.tsx @@ -15,8 +15,8 @@ export default function AppPage({}) { }, [darkMode]); return ( -
-
+
+

Formbricks In-product Survey Demo App @@ -27,7 +27,7 @@ export default function AppPage({}) {

@@ -36,14 +36,27 @@ export default function AppPage({}) {
-

Setup .env

+

1. Setup .env

Copy the environment ID of your Formbricks app to the env variable in demo/.env

fb setup + +
+

You're connected with env:

+
+ + {process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID} + + + + + +
+
-

Widget Logs

+

2. Widget Logs

Look at the logs to understand how the widget works.{" "} Open your browser console to see the logs. diff --git a/apps/web/components/shared/SurveyStatusIndicator.tsx b/apps/web/components/shared/SurveyStatusIndicator.tsx index 01feab111a..96c95ddd8a 100644 --- a/apps/web/components/shared/SurveyStatusIndicator.tsx +++ b/apps/web/components/shared/SurveyStatusIndicator.tsx @@ -1,7 +1,7 @@ "use client"; -import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@formbricks/ui"; import { useEnvironment } from "@/lib/environments/environments"; +import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@formbricks/ui"; import { ArchiveBoxIcon, CheckIcon, PauseIcon } from "@heroicons/react/24/solid"; interface SurveyStatusIndicatorProps { diff --git a/packages/js/src/components/CTAQuestion.tsx b/packages/js/src/components/CTAQuestion.tsx index 936872d646..f990fb2189 100644 --- a/packages/js/src/components/CTAQuestion.tsx +++ b/packages/js/src/components/CTAQuestion.tsx @@ -31,7 +31,9 @@ export default function CTAQuestion({

- {goToPreviousQuestion && goToPreviousQuestion()} />} +
+ {goToPreviousQuestion && goToPreviousQuestion()} />} +
{(!question.required || storedResponseValue) && (