Skip to content

Commit

Permalink
Solves Shopify#109 client variable-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
markusobviuse committed Jan 21, 2021
1 parent 05d3515 commit ea24cff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-graphql-client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class App extends Component {
}

addVariantToCart(variantId, quantity){
const client = this.props.client;
this.setState({
isCartOpen: true,
});
Expand Down

0 comments on commit ea24cff

Please sign in to comment.