fix no merge
This commit is contained in:
parent
43dda946fe
commit
9399de19db
|
@ -78,17 +78,14 @@ const Traversal = (props) => {
|
|||
context={context}
|
||||
onChange={(argValue, event) => (
|
||||
onChange({
|
||||
...value,
|
||||
type: 'traversal',
|
||||
steps: [
|
||||
...steps.slice(0, i),
|
||||
{
|
||||
...steps[i],
|
||||
args: [
|
||||
...steps[i].args.slice(0, j),
|
||||
{
|
||||
...steps[i].args[j],
|
||||
...toBehaviorItem(argValue),
|
||||
},
|
||||
toBehaviorItem(argValue),
|
||||
...steps[i].args.slice(j + 1),
|
||||
],
|
||||
},
|
||||
|
@ -122,12 +119,12 @@ const Traversal = (props) => {
|
|||
context={context}
|
||||
onChange={(valueValue, event) => (
|
||||
onChange({
|
||||
...value,
|
||||
type: 'traversal',
|
||||
steps,
|
||||
value: toBehaviorItem(valueValue),
|
||||
}, event)
|
||||
)}
|
||||
type={stepsType}
|
||||
type={typeFromSteps(context, steps)}
|
||||
value={assignValue}
|
||||
/>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue
Block a user