Skip to content

Commit

Permalink
components utils folder removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Aug 16, 2024
1 parent 2fe77cc commit 1d6b8a4
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion client/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Plus_Jakarta_Sans } from "next/font/google";
import "./globals.css";

import { cn } from "@/lib/utils";
import { ThemeProvider } from "@/components/utils/theme-provider";
import { ThemeProvider } from "@/components/theme-provider";
import StoreProvider from "./StoreProvider";

const inter = Plus_Jakarta_Sans({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import Image from "next/image";
import PhoneInput from "react-phone-number-input";
import ReactDatePicker from "react-datepicker";
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 { SelectContent, SelectTrigger, SelectValue } from "./ui/select";
import { Checkbox } from "./ui/checkbox";
import { Textarea } from "./ui/textarea";

const RenderField = ({ field, props }: { field: any; props: CustomProps }) => {
const {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions client/components/forms/AppointmentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/CustomFormField";
import SubmitButton from "@/components/SubmitButton";
import { appointmentFormValidation } from "@/lib/userValidation";
import { SelectItem } from "../ui/select";
import Image from "next/image";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/RegistrationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form, FormControl } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/CustomFormField";
import SubmitButton from "@/components/SubmitButton";
import { registerFormValidation } from "@/lib/userValidation";
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
import { Label } from "@radix-ui/react-label";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/SignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form, FormControl } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/CustomFormField";
import SubmitButton from "@/components/SubmitButton";
import { signupFormValidation } from "@/lib/userValidation";
// import { useLoginMutation } from "@/lib/features/api/authApi";
import { FormFieldType } from "@/types/fromTypes";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/SiigninForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/CustomFormField";
import SubmitButton from "@/components/SubmitButton";
import { signinFormValidation } from "@/lib/userValidation";
import { useLoginMutation } from "@/lib/features/api/authApi";
import Link from "next/link";
Expand Down
File renamed without changes.

0 comments on commit 1d6b8a4

Please sign in to comment.