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

committed by
Ömer Faruk Aydın

parent
f5f7a998ca
commit
030d886cf7
@@ -21,7 +21,7 @@ function FlowStepContextMenu(props: FlowStepContextMenuProps): React.ReactElemen
|
||||
|
||||
const deleteActionHandler = React.useCallback(async (event: React.SyntheticEvent) => {
|
||||
event.stopPropagation();
|
||||
await deleteStep({ variables: { id: stepId }});
|
||||
await deleteStep({ variables: { input: { id: stepId } } });
|
||||
}, [stepId]);
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user