mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Changes
This commit is contained in:
@@ -21,15 +21,15 @@ export async function getStaticProps({
|
||||
preview,
|
||||
})
|
||||
|
||||
const { categories, brands } = await getSiteInfo({ config, preview })
|
||||
const { pages } = await getAllPages({ config, preview })
|
||||
// const { categories, brands } = await getSiteInfo({ config, preview })
|
||||
// const { pages } = await getAllPages({ config, preview })
|
||||
|
||||
return {
|
||||
props: {
|
||||
products,
|
||||
categories,
|
||||
brands,
|
||||
pages,
|
||||
categories: [],
|
||||
brands: [],
|
||||
pages: [],
|
||||
},
|
||||
revalidate: 14400,
|
||||
}
|
||||
|
Reference in New Issue
Block a user