refactor: profile picture selection

- Removed profile picture selection UI from create/edit user forms. We will use the randome avatar instead.
This commit is contained in:
Tola Leng
2025-09-15 22:08:29 +07:00
parent 8d8e871b9f
commit 79fda8105f
3 changed files with 1 additions and 5 deletions
@@ -17,7 +17,6 @@ import { Loader2, AlertCircle } from "lucide-react";
import { Alert, AlertDescription } from "@/components/ui/alert";
import UserTextField from "./form-fields/UserTextField";
import UserToggleField from "./form-fields/UserToggleField";
import UserProfilePictureField from "./form-fields/UserProfilePictureField";
import UserRoleField from "./form-fields/UserRoleField";
interface EditUserDialogProps {
@@ -62,7 +61,6 @@ const EditUserDialog = ({
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
<UserProfilePictureField control={form.control} />
<div className="grid grid-cols-2 gap-4">
<UserTextField