Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/CheckoutSuccessPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ type CheckoutQueryResult = {
price: number
}>
shippingAddress: {
firstName: string
lastName: string
address: string
city: string
state: string
Expand Down
3 changes: 3 additions & 0 deletions src/graphql/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ export const GET_CHECKOUT = gql`
total
items {
productId
name
quantity
price
}
shippingAddress {
firstName
lastName
address
city
state
Expand Down