Implemented zero state to all listings

This commit is contained in:
Ebube
2023-05-10 16:33:10 +01:00
parent 1e0dbbfff7
commit b0dae469d5
17 changed files with 125 additions and 131 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default function MainSection({ products }) {
<div className="grid xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 2xl:gap-8 xl:gap-5 gap-5 mb-6">
<DataIteration
datas={products}
startLength={0}
startLength={process.env.REACT_APP_ZERO_STATE}
endLength={products.length}
>
{({ datas }) => (