mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: conflict
This commit is contained in:
parent
b1a9f56b7c
commit
ec81062b9d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user