mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
add console logs to troubleshoot infinite scroll on production
This commit is contained in:
@@ -170,7 +170,7 @@ export default function Table() {
|
||||
const isAtBottom =
|
||||
target.clientHeight + target.scrollTop >= target.scrollHeight - offset;
|
||||
if (!isAtBottom) return;
|
||||
console.log("Scroll");
|
||||
console.log("Scrolled to bottom");
|
||||
// Call for the next page
|
||||
setTablePage((p) => p + 1);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user