From e6728499354824340b7c3fdc3f19c9ef89f5c677 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 16 Mar 2022 12:11:51 +0100 Subject: [PATCH] Fix build (#2276) --- .../attribute/AttributeAnnotations.tsx | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) 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 = ({ - +