fixed some bugs and clean up

This commit was merged in pull request #99.
This commit is contained in:
Ebube
2023-05-24 15:01:39 +01:00
parent d673d890db
commit 4fb5bcc3f3
5 changed files with 12 additions and 77 deletions
+2 -3
View File
@@ -5,9 +5,8 @@ function DataIteration(props) {
return (
<>
{datas &&
datas.length >= endLength &&
datas
.slice(startLength, endLength)
datas?.length >= endLength &&
datas?.slice(startLength, endLength)
.map((value) => children({ datas: value }))}
</>
);