Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move cart creation out of trigger #2572

Merged
merged 8 commits into from
Jul 27, 2020
Prev Previous commit
Next Next commit
Update packages/venia-ui/lib/components/CartPage/GiftCards/giftCardQu…
…eries.js
  • Loading branch information
sirugh committed Jul 23, 2020
commit 28fba54ae2fa05a8ba01e5daf2057e59c41455e1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CartPageFragment } from '../cartPageFragments.gql';
import { GiftCardFragment } from './giftCardFragments';

export const GET_CART_GIFT_CARDS_QUERY = gql`
query getGiftCardsInCart($cartId: String!) {
query getGiftCardsOnCart($cartId: String!) {
cart(cart_id: $cartId) @connection(key: "Cart") {
id
...GiftCardFragment
Expand Down