This commit is contained in:
jeffvli 2023-07-16 23:57:31 -07:00
parent 3fb9853eb6
commit 0c54b79c09

View file

@ -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);