Refactoring user Page in admin panel.

This commit is contained in:
charlesgauthereau
2025-12-30 13:38:01 +01:00
parent 8e3eb32631
commit c18a9da0d3
31 changed files with 1032 additions and 252 deletions
@@ -4,7 +4,7 @@ import { UploadIcon } from "lucide-react";
import { toast } from "sonner";
import { uploadImageAction } from "@/features/upload/public/upload.action";
import { useMutation } from "@tanstack/react-query";
import { updateImageUserAction } from "@/components/wrappers/dashboard/profile2/avatar/avatar.action";
import { updateImageUserAction } from "@/components/wrappers/dashboard/profile/actions/avatar.action";
import { useRouter } from "next/navigation";
import { User } from "@/db/schema/02_user";
import React, {ChangeEvent} from "react";