mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: typecheck
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user