diff --git a/frontend/src/components/nlp/components/NlpValueForm.tsx b/frontend/src/components/nlp/components/NlpValueForm.tsx index e9e154be..72eb2fd2 100644 --- a/frontend/src/components/nlp/components/NlpValueForm.tsx +++ b/frontend/src/components/nlp/components/NlpValueForm.tsx @@ -25,7 +25,7 @@ import { INlpValue, INlpValueAttributes } from "@/types/nlp-value.types"; export const NlpValueForm: FC< ComponentFormProps<{ data: INlpValue; canHaveSynonyms: boolean }> > = ({ data: props, Wrapper = Fragment, WrapperProps, ...rest }) => { - const { data, canHaveSynonyms } = props || {}; + const { data } = props || {}; const { t } = useTranslate(); const { toast } = useToast(); const { query } = useRouter(); @@ -112,17 +112,15 @@ export const NlpValueForm: FC< /> - {canHaveSynonyms ? ( - - ( - - )} - /> - - ) : null} + + ( + + )} + /> +