From 693f2cf24a9e096b63e8ac4f416e2325e464b7ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Nederg=C3=A5rd?= Date: Sat, 22 Nov 2025 16:54:46 +0100 Subject: [PATCH] fix: checkout fixes --- src/CheckoutSuccessPage.tsx | 2 ++ src/graphql/queries.ts | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/CheckoutSuccessPage.tsx b/src/CheckoutSuccessPage.tsx index 20f969e..d979c97 100644 --- a/src/CheckoutSuccessPage.tsx +++ b/src/CheckoutSuccessPage.tsx @@ -24,6 +24,8 @@ type CheckoutQueryResult = { price: number }> shippingAddress: { + firstName: string + lastName: string address: string city: string state: string diff --git a/src/graphql/queries.ts b/src/graphql/queries.ts index eadfdc2..5413123 100644 --- a/src/graphql/queries.ts +++ b/src/graphql/queries.ts @@ -64,10 +64,13 @@ export const GET_CHECKOUT = gql` total items { productId + name quantity price } shippingAddress { + firstName + lastName address city state