mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Clean up
This commit is contained in:
@@ -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 New Issue
Block a user