fix: cart delete mutation and console warnings
Some checks failed
Build and Deploy / build (push) Has been cancelled
Some checks failed
Build and Deploy / build (push) Has been cancelled
- Fix checkoutLinesDelete mutation: use 'id' param and 'linesIds' instead of 'lineIds' - Fix viewport metadata warning: move to separate viewport export in layout.tsx - Add sizes prop to checkout Image with fill - Fix CartDrawer init checkout useEffect to prevent re-render loops - Various product detail improvements
This commit is contained in:
@@ -50,8 +50,8 @@ export const CHECKOUT_LINES_UPDATE = gql`
|
||||
`;
|
||||
|
||||
export const CHECKOUT_LINES_DELETE = gql`
|
||||
mutation CheckoutLinesDelete($checkoutId: ID!, $lineIds: [ID!]!) {
|
||||
checkoutLinesDelete(checkoutId: $checkoutId, lineIds: $lineIds) {
|
||||
mutation CheckoutLinesDelete($id: ID!, $linesIds: [ID!]!) {
|
||||
checkoutLinesDelete(id: $id, linesIds: $linesIds) {
|
||||
checkout {
|
||||
...CheckoutFragment
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user