forked from crowetic/commerce
Change the language properly for the products
This commit is contained in:
parent
0657b882cd
commit
4862dc6bbd
@ -68,8 +68,7 @@ export default function Home({
|
|||||||
(i) => bestSellingProducts[i] ?? products.shift()
|
(i) => bestSellingProducts[i] ?? products.shift()
|
||||||
).filter(nonNullable),
|
).filter(nonNullable),
|
||||||
}
|
}
|
||||||
// Props from getStaticProps won't change
|
}, [newestProducts, featuredProducts, bestSellingProducts])
|
||||||
}, [])
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user