Skip to content

Commit d0ad70f

Browse files
committed
chore: apply suggestions
1 parent 1c4e404 commit d0ad70f

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

packages/pluggableWidgets/datagrid-web/src/model/hooks/useBodyScroll.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/pluggableWidgets/datagrid-web/src/model/hooks/useInfiniteControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useOnScreen } from "@mendix/widget-plugin-hooks/useOnScreen";
33
import { useGridSizeStore } from "@mendix/datagrid-web/src/model/hooks/injection-hooks";
44
import { VIRTUAL_SCROLLING_OFFSET } from "../stores/GridSize.store";
55

6-
export function useInfiniteControl(): [trackBodyScrolling: ((e: any) => void) | undefined] {
6+
export function useInfiniteControl(): [trackTableScrolling: ((e: any) => void) | undefined] {
77
const gridSizeStore = useGridSizeStore();
88

99
const isVisible = useOnScreen(gridSizeStore.gridContainerRef as RefObject<HTMLElement>);

0 commit comments

Comments
 (0)