diff --git a/src/realm-settings/user-profile/attribute/AttributeAnnotations.tsx b/src/realm-settings/user-profile/attribute/AttributeAnnotations.tsx index 8a64d74417..bad12d5cde 100644 --- a/src/realm-settings/user-profile/attribute/AttributeAnnotations.tsx +++ b/src/realm-settings/user-profile/attribute/AttributeAnnotations.tsx @@ -2,22 +2,12 @@ import React from "react"; import { FormGroup, Grid, GridItem } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { FormAccess } from "../../../components/form-access/FormAccess"; -import "../../realm-settings-section.css"; import { FormProvider, useFormContext } from "react-hook-form"; -import { - AttributeInput, - AttributeType, -} from "../../../components/attribute-input/AttributeInput"; +import { AttributeInput } from "../../../components/attribute-input/AttributeInput"; -export type AttributeAnnotationsProps = { - isKeySelectable?: boolean; - selectableValues?: AttributeType[]; -}; +import "../../realm-settings-section.css"; -export const AttributeAnnotations = ({ - isKeySelectable, - selectableValues, -}: AttributeAnnotationsProps) => { +export const AttributeAnnotations = () => { const { t } = useTranslation("realm-settings"); const form = useFormContext(); @@ -32,11 +22,7 @@ export const AttributeAnnotations = ({ - +