removed outdated comment
This commit is contained in:
parent
ea923b032c
commit
34f8f5b155
|
@ -72,7 +72,7 @@ class InfiniteScroll<T> extends HookWidget {
|
||||||
if (newData.length < batchSize) {
|
if (newData.length < batchSize) {
|
||||||
hasMore.current = false;
|
hasMore.current = false;
|
||||||
}
|
}
|
||||||
// append new data and increment page count
|
// append new data
|
||||||
data.value = [...data.value, ...newData];
|
data.value = [...data.value, ...newData];
|
||||||
}).whenComplete(() => isFetching.current = false);
|
}).whenComplete(() => isFetching.current = false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue