Clean up
This commit is contained in:
parent
3fb9853eb6
commit
0c54b79c09
1 changed files with 0 additions and 2 deletions
|
@ -20,8 +20,6 @@ export const GridCard = memo(({ data, index, style }: ListChildComponentProps) =
|
||||||
resetInfiniteLoaderCache,
|
resetInfiniteLoaderCache,
|
||||||
} = data as GridCardData;
|
} = data as GridCardData;
|
||||||
|
|
||||||
console.log('data', data);
|
|
||||||
|
|
||||||
const cards = [];
|
const cards = [];
|
||||||
const startIndex = index * columnCount;
|
const startIndex = index * columnCount;
|
||||||
const stopIndex = Math.min(itemCount - 1, startIndex + columnCount - 1);
|
const stopIndex = Math.min(itemCount - 1, startIndex + columnCount - 1);
|
||||||
|
|
Reference in a new issue