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()
|
||||
).filter(nonNullable),
|
||||
}
|
||||
// Props from getStaticProps won't change
|
||||
}, [])
|
||||
}, [newestProducts, featuredProducts, bestSellingProducts])
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user