diff --git a/src/app/[countryCode]/(checkout)/checkout/page.tsx b/src/app/[countryCode]/(checkout)/checkout/page.tsx index b5d73a9d8..a4704f129 100644 --- a/src/app/[countryCode]/(checkout)/checkout/page.tsx +++ b/src/app/[countryCode]/(checkout)/checkout/page.tsx @@ -6,6 +6,7 @@ import CheckoutForm from "@modules/checkout/templates/checkout-form" import CheckoutSummary from "@modules/checkout/templates/checkout-summary" import { enrichLineItems, retrieveCart } from "@lib/data/cart" import { HttpTypes } from "@medusajs/types" +import { getCustomer } from "@lib/data/customer" export const metadata: Metadata = { title: "Checkout", @@ -27,11 +28,12 @@ const fetchCart = async () => { export default async function Checkout() { const cart = await fetchCart() + const customer = await getCustomer() return (