import type { GetStaticPropsContext } from 'next' import commerce from '@lib/api/commerce' import { Bag } from '@components/icons' import { Layout } from '@components/common' import { Container, Text } from '@components/ui' export async function getStaticProps({ preview, locale, locales, }: GetStaticPropsContext) { const config = { locale, locales } const { pages } = await commerce.getAllPages({ config, preview }) const { categories } = await commerce.getSiteInfo({ config, preview }) return { props: { pages, categories }, } } export default function Orders() { return ( My Orders

No orders found

Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake.

) } Orders.Layout = Layout