diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-11-01 16:11:28 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-11-01 16:11:28 +0700 |
| commit | 1fb420af61dfacfec91e6d640e77339dd033badb (patch) | |
| tree | 8567325116472d8ac96454a3b8a0fb81b17cdcd3 | |
| parent | 7bcf7a1d2053e8f785a3832b3833e8348c4d371b (diff) | |
Bug fixing
| -rw-r--r-- | src/pages/shop/product/[slug].js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index 2010d93e..4b335fb9 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -18,7 +18,7 @@ export async function getServerSideProps(context) { const { slug } = context.query; let product = await getOdoo('/api/v1/product/' + getId(slug)); product = product[0]; - return {props: {product, similarProducts}}; + return {props: {product}}; } export default function ProductDetail({product}) { |
