import { BASE_CART } from 'graphql/fragments/cart/baseCart';
import gql from 'graphql-tag';

export const REMOVE_FROM_CART = gql`
  mutation removeFromCart($input: RemoveFromCartInput!) {
    removeFromCart(input: $input) {
      cart {
        ...BaseCartFragment
      }
      error {
        code
        message
      }
    }
  }
  ${BASE_CART}
`;
