mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Exclude prop
This commit is contained in:
@@ -15,7 +15,8 @@ export async function getStaticProps({
|
||||
variables: { first: 12 },
|
||||
config,
|
||||
preview,
|
||||
featured: true
|
||||
// Saleor provider only
|
||||
...({ featured: true } as any),
|
||||
})
|
||||
const { categories, brands } = await commerce.getSiteInfo({ config, preview })
|
||||
const { pages } = await commerce.getAllPages({ config, preview })
|
||||
|
Reference in New Issue
Block a user