diff --git a/src/features/profile/components/avatar-with-upload.tsx b/src/features/profile/components/avatar-with-upload.tsx index 2a299de3..6975c2a2 100644 --- a/src/features/profile/components/avatar-with-upload.tsx +++ b/src/features/profile/components/avatar-with-upload.tsx @@ -2,7 +2,7 @@ import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { UploadIcon } from "lucide-react"; import { toast } from "sonner"; -import { uploadUserImageAction } from "@/features/upload/upload.action"; +import { uploadUserImageAction } from "@/features/upload/actions/upload.action"; import { useMutation } from "@tanstack/react-query"; import { updateImageUserAction } from "@/features/profile/actions/avatar.action"; import { useRouter } from "next/navigation"; diff --git a/src/features/upload/upload.action.ts b/src/features/upload/actions/upload.action.ts similarity index 100% rename from src/features/upload/upload.action.ts rename to src/features/upload/actions/upload.action.ts