From eb41e4a419c27dcb123b3fd85866e1c800408ec1 Mon Sep 17 00:00:00 2001 From: Dhruwang Date: Tue, 15 Aug 2023 10:41:30 +0530 Subject: [PATCH 1/2] fix: left align issue --- packages/js/src/components/CTAQuestion.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) && ( @@ -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 {