From 8a323e219549d99ac21121655720fbd04930fff1 Mon Sep 17 00:00:00 2001 From: Sinan Date: Sat, 17 Aug 2024 14:09:39 +0530 Subject: [PATCH] otp page error solved --- client/components/CustomFormField.tsx | 15 +++++++-------- client/components/modles/OtpVerificationModel.tsx | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/client/components/CustomFormField.tsx b/client/components/CustomFormField.tsx index 58d1b8a0..6f6c15a6 100644 --- a/client/components/CustomFormField.tsx +++ b/client/components/CustomFormField.tsx @@ -1,4 +1,5 @@ "use client"; +import React from "react"; import { FormControl, FormField, @@ -17,7 +18,7 @@ import { Select } from "@radix-ui/react-select"; import { SelectContent, SelectTrigger, SelectValue } from "./ui/select"; import { Checkbox } from "./ui/checkbox"; import { Textarea } from "./ui/textarea"; -import { IconCalendar } from '@tabler/icons-react'; +import { IconCalendar } from "@tabler/icons-react"; const RenderField = ({ field, props }: { field: any; props: CustomProps }) => { const { @@ -67,7 +68,7 @@ const RenderField = ({ field, props }: { field: any; props: CustomProps }) => { ); - case FormFieldType.DATE_PICKER: + case FormFieldType.DATE_PICKER: return (
@@ -89,11 +90,9 @@ const RenderField = ({ field, props }: { field: any; props: CustomProps }) => { return (