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