chore: format

This commit is contained in:
cha0s 2020-06-22 11:39:54 -05:00
parent a373bb7f0f
commit f2071507b9
2 changed files with 8 additions and 8 deletions

View File

@ -27,8 +27,8 @@ const Actions = ({
<li key={i}>
<Traversal.Component
context={context}
onChange={(traversalValue) => {
return onChange({
onChange={(traversalValue, event) => (
onChange({
...value,
traversals: [
...traversals.slice(0, i),
@ -38,8 +38,8 @@ const Actions = ({
},
...traversals.slice(i + 1),
],
});
}}
}, event)
)}
type="any"
value={traversal}
/>

View File

@ -29,8 +29,8 @@ const Routines = ({
<span className="text">{name}</span>
<Actions.Component
context={context}
onChange={(actionsValue) => {
return onChange({
onChange={(actionsValue, event) => (
onChange({
...value,
routines: {
...routines,
@ -41,8 +41,8 @@ const Routines = ({
},
},
},
});
}}
}, event)
)}
value={routine.routine}
/>
</label>