Skip to content

The Open Source DocuSign Alternative.

fix: stepsRemaining value of the early adopters plan's input section (#803)

Anik Dhabal Babuf9d26e6b3f19
diff --git a/apps/marketing/src/components/(marketing)/widget.tsx b/apps/marketing/src/components/(marketing)/widget.tsx
index c1ceadafe..80c13b275 100644
--- a/apps/marketing/src/components/(marketing)/widget.tsx
+++ b/apps/marketing/src/components/(marketing)/widget.tsx
@@ -1,6 +1,7 @@
'use client';
-import { HTMLAttributes, KeyboardEvent, useMemo, useState } from 'react';
+import type { HTMLAttributes, KeyboardEvent } from 'react';
+import { useMemo, useState } from 'react';
import { zodResolver } from '@hookform/resolvers/zod';
import { AnimatePresence, motion } from 'framer-motion';
@@ -90,10 +91,10 @@ export const Widget = ({ className, children, ...props }: WidgetProps) => {
}
if (step === STEP.EMAIL) {
- return 1;
+ return 3;
}
- return 3;
+ return 1;
}, [step]);
const onNextStepClick = () => {