There was an error while loading. Please reload this page.
1 parent 1afa145 commit 502eaddCopy full SHA for 502eadd
1 file changed
packages/infinitegrid/src/Infinite.ts
@@ -507,7 +507,7 @@ export class Infinite extends Component<InfiniteEvents> {
507
let startCursor = Infinity;
508
let endCursor = -1;
509
510
- nextPartInfos.forEach(part => {
+ nextPartInfos.forEach((part) => {
511
startCursor = Math.min(part.itemIndex, startCursor);
512
endCursor = Math.min(part.itemIndex, endCursor);
513
});
@@ -544,7 +544,7 @@ export class Infinite extends Component<InfiniteEvents> {
544
545
minParts.push([minDist, {
546
part,
547
- itemIndex: items.findIndex(allItem => allItem.key === item.key),
+ itemIndex: items.findIndex((allItem) => allItem.key === item.key),
548
}]);
549
550
0 commit comments