refactoring some files.

This commit is contained in:
killian-larcher
2024-12-16 20:01:30 +01:00
parent 31ee81c10f
commit 4f12a2b078
26 changed files with 160 additions and 70 deletions
@@ -11,8 +11,8 @@ import {Input} from "@/components/ui/input";
import {Form} from "@/components/ui/form"
import {Button} from "@/components/ui/button";
import {TooltipProvider, TooltipTrigger, Tooltip, TooltipContent} from "@/components/ui/tooltip";
import {RegisterSchema, RegisterType} from "@/components/wrappers/auth/Register/RegisterForm/register-form.schema";
import {registerUserAction} from "@/components/wrappers/auth/Register/RegisterForm/register-form.action";
import {RegisterSchema, RegisterType} from "@/components/wrappers/auth/Register/register-form/register-form.schema";
import {registerUserAction} from "@/components/wrappers/auth/Register/register-form/register-form.action";
import {PasswordInput} from "@/components/wrappers/auth/PaswordInput/password-input";
export type registerFormProps = {
@@ -1,5 +1,5 @@
"use server"
import {RegisterSchema} from "@/components/wrappers/auth/Register/RegisterForm/register-form.schema";
import {RegisterSchema} from "@/components/wrappers/auth/Register/register-form/register-form.schema";
import {action} from "@/safe-actions";
import {prisma} from "@/prisma";
import {hashPassword} from "@/utils/password";