// "use client"; // const FormSchema = z.object({ // token: z.string().min(6, { // message: "Your one-time password must be 6 characters.", // }), // }); // interface InputOTPFormProps { // className?: string; // [key: string]: any; // } // export function VerifyOtpForm({ className, ...props }: InputOTPFormProps) { // const searchParams = useSearchParams(); // const email = searchParams.get("email") || ""; // const form = useForm>({ // resolver: zodResolver(FormSchema), // defaultValues: { // token: "", // }, // }); // async function onSubmit(data: z.infer) { // try { // } catch (error) { // toast({ // variant: "destructive", // title: "Error", // description: "Failed to verify OTP. Please try again.", // }); // } // } // return ( //
// // // // One-Time Password // // // One time password is a security feature that helps protect your data // // // //
// // // ( // // // // // {[...Array(6)].map((_, index) => ( // // ))} // // // // // Please enter the one-time password sent to {email}. // // // // )} // /> //
// // Submit // //
// // //
//
//
// By clicking continue, you agree to our Terms of Service{" "} // and Privacy Policy. //
//
// ); // }