fix: page/product properties

This commit is contained in:
Zaiste
2021-04-19 15:38:40 +02:00
parent 89f6c1ce76
commit 5402af4902
4 changed files with 8 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ const getAllProductPaths = async (options?: {
return {
products: products?.map(({ node: { slug } }: ProductCountableEdge) => ({
node: {
path: `/${handle}`,
path: `/${slug}`,
},
})),
}