diff --git a/apps/marketing/src/components/(marketing)/widget.tsx b/apps/marketing/src/components/(marketing)/widget.tsx index c9e1d91cc..7fd4aaa49 100644 --- a/apps/marketing/src/components/(marketing)/widget.tsx +++ b/apps/marketing/src/components/(marketing)/widget.tsx @@ -226,7 +226,7 @@ export const Widget = ({ className, children, ...props }: WidgetProps) => { type="button" className="bg-primary h-full w-14 rounded" disabled={!field.value || !!errors.email?.message} - onClick={() => onNextStepClick()} + onClick={() => step === 'EMAIL' && onNextStepClick()} > Next @@ -303,7 +303,10 @@ export const Widget = ({ className, children, ...props }: WidgetProps) => {
-

{stepsRemaining} step(s) until signed

+

+ {isValid ? 'Ready for Signing' : `${stepsRemaining} step(s) until signed`} +

+

Minimise contract

@@ -313,6 +316,7 @@ export const Widget = ({ className, children, ...props }: WidgetProps) => { 'w-1/3': stepsRemaining === 3, 'w-2/3': stepsRemaining === 2, 'w-11/12': stepsRemaining === 1, + 'w-full': isValid, })} />