refactor: introduce input in gql mutations
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
f5f7a998ca
commit
030d886cf7
@@ -39,8 +39,10 @@ function TestSubstep(props: TestSubstepProps): React.ReactElement {
|
||||
const handleSubmit = React.useCallback(() => {
|
||||
executeFlow({
|
||||
variables: {
|
||||
stepId: step.id,
|
||||
}
|
||||
input: {
|
||||
stepId: step.id,
|
||||
},
|
||||
},
|
||||
})
|
||||
}, [onSubmit, step.id]);
|
||||
const onToggle = expanded ? onCollapse : onExpand;
|
||||
|
Reference in New Issue
Block a user