fix: typecheck

This commit is contained in:
abdou6666
2025-04-04 11:42:42 +01:00
parent 7f61a3f5fc
commit a404cfa10e
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ export const NlpValues = ({ entityId }: { entityId: string }) => {
});
const { onSearch, searchPayload } = useSearch<INlpValue>({
$eq: [{ entity: entityId }],
$or: ["doc", "value"]
$or: ["doc", "value"],
});
const { dataGridProps } = useFind(
{ entity: EntityType.NLP_VALUE },
@@ -104,7 +104,7 @@ export const NlpValues = ({ entityId }: { entityId: string }) => {
],
t("label.operations"),
);
const synonymsColumn = {
const synonymsColumn = {
flex: 3,
field: "synonyms",
headerName: t("label.synonyms"),

View File

@@ -25,7 +25,7 @@ import { INlpValue, INlpValueAttributes } from "@/types/nlp-value.types";
export type NlpValueFormProps = {
defaultValues?: INlpValue;
presetValues: INlpEntity;
presetValues: INlpEntity | undefined;
};
export const NlpValueForm: FC<ComponentFormProps<NlpValueFormProps>> = ({
data: props,