path was failling

This commit is contained in:
Belen Curcio
2020-10-02 14:48:18 -03:00
parent 01f5b460d1
commit da4bca460b
4 changed files with 6 additions and 6 deletions

View File

@@ -37,9 +37,10 @@ export async function getStaticPaths() {
const { products } = await getAllProductPaths()
return {
paths: products.map((product) => ({
params: { slug: product!.node.path },
})),
// paths: products.map((product) => ({
// params: { slug: product!.node.path.trim() },
// })),
paths: [],
fallback: 'unstable_blocking',
}
}