Merge branch 'main' into update-documents-avatar

This commit is contained in:
Ashraf Chowdury
2024-01-09 20:33:31 +08:00
committed by GitHub

View File

@ -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 = () => {