Skip to content

Commit

Permalink
removes some unecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Mar 11, 2020
1 parent 65a3b69 commit fb63cb5
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions react/legacy/components/ProductQuantityStepper.js
Expand Up @@ -151,21 +151,15 @@ class ProductQuantityStepper extends Component {
}

const withUpdateItemsMutation = graphql(UPDATE_ITEMS_MUTATION, {
props: ({ mutate }) => {
debugger
console.log('MUTATION withUpdateItemsMutation')
return ({
props: ({ mutate }) => ({
updateItems: items => mutate({ variables: { items } }),
})},
}),
})

const withUpdateLocalItemsMutation = graphql(UPDATE_LOCAL_ITEMS_MUTATION, {
props: ({ mutate }) => {
debugger
console.log('MUTATION withUpdateLocalItemsMutation')
return ({
props: ({ mutate }) => ({
updateLocalItems: items => mutate({ variables: { items } }),
})},
}),
})

export default compose(
Expand Down

0 comments on commit fb63cb5

Please sign in to comment.