diff --git a/web/core/components/profile/form.tsx b/web/core/components/profile/form.tsx index a7c47566a..46127f802 100644 --- a/web/core/components/profile/form.tsx +++ b/web/core/components/profile/form.tsx @@ -6,10 +6,9 @@ import { Controller, useForm } from "react-hook-form"; import { ChevronDown, CircleUserRound, InfoIcon } from "lucide-react"; import { Disclosure, Transition } from "@headlessui/react"; // plane imports -import { USER_ROLES } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import type { IUser, TUserProfile } from "@plane/types"; -import { Button, CustomSelect, Input, TOAST_TYPE, setPromiseToast, setToast } from "@plane/ui"; +import { Button, Input, TOAST_TYPE, setPromiseToast, setToast } from "@plane/ui"; // components import { getButtonStyling } from "@plane/ui/src/button"; import { cn } from "@plane/utils"; @@ -342,35 +341,6 @@ export const ProfileForm = observer((props: TProfileFormProps) => { )} /> -
-

- {t("role")}  - * -

- ( - - {USER_ROLES.map((item) => ( - - {t(item.i18n_label)} - - ))} - - )} - /> - {errors.role && Please select a role} -