mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
test fix
This commit is contained in:
@@ -3,7 +3,7 @@ import { useRouter } from 'next/router'
|
||||
import getProduct from 'lib/bigcommerce/api/operations/get-product'
|
||||
import { Layout } from '@components/core'
|
||||
import { ProductView } from '@components/product'
|
||||
import getAllProductPaths from '@lib/bigcommerce/api/operations/get-all-product-paths'
|
||||
import getAllProductPaths from 'lib/bigcommerce/api/operations/get-all-product-paths'
|
||||
|
||||
export async function getStaticProps({
|
||||
params,
|
||||
@@ -42,7 +42,7 @@ export async function getStaticPaths() {
|
||||
// Exclude the slashes: `/slug/` -> `slug`
|
||||
return { params: { slug: path.substring(1, path.length - 1) } }
|
||||
}),
|
||||
fallback: 'unstable_blocking',
|
||||
fallback: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user