fix: conflict

This commit is contained in:
abdou6666 2025-04-04 11:28:50 +01:00
parent b1a9f56b7c
commit ec81062b9d

View File

@ -73,7 +73,7 @@ export const NlpValueForm: FC<ComponentFormProps<NlpValueFormProps>> = ({
>({
defaultValues: {
value: nlpValue?.value || "",
doc: data?.doc || "",
doc: nlpValue?.doc || "",
expressions: nlpValue?.expressions || [],
},
});
@ -97,7 +97,7 @@ export const NlpValueForm: FC<ComponentFormProps<NlpValueFormProps>> = ({
reset({
value: nlpValue.value,
expressions: nlpValue.expressions,
doc: data.doc,
doc: nlpValue.doc,
});
} else {
reset();