Skip to content

Commit e883916

Browse files
author
Rajat
committed
added any to zod schemas
1 parent fd27c37 commit e883916

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/web/components/admin/payments/payment-plan-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export function PaymentPlanForm({
161161
const currencyISOCode = siteinfo.currencyISOCode?.toUpperCase() || "USD";
162162

163163
const form = useForm<PaymentPlanFormData>({
164-
resolver: zodResolver(formSchema),
164+
resolver: zodResolver(formSchema as any),
165165
defaultValues: {
166166
name: "",
167167
description: "",

apps/web/components/public/payments/checkout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function Checkout({
8888
const { theme } = useContext(ThemeContext);
8989

9090
const form = useForm<z.infer<typeof formSchema>>({
91-
resolver: zodResolver(formSchema),
91+
resolver: zodResolver(formSchema as any),
9292
defaultValues: {
9393
selectedPlan: product.defaultPaymentPlanId || "",
9494
joiningReason: "",

apps/web/components/public/payments/login-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function LoginForm({ onLoginComplete }: LoginFormProps) {
6060
}, [profile]);
6161

6262
const form = useForm<z.infer<typeof loginFormSchema>>({
63-
resolver: zodResolver(loginFormSchema),
63+
resolver: zodResolver(loginFormSchema as any),
6464
defaultValues: {
6565
email: "",
6666
otp: "",

0 commit comments

Comments
 (0)