Skip to content

Commit babf03f

Browse files
refactor(datagrid-web): remove unused isLoading prop and related code from GridBody component
1 parent 2f43389 commit babf03f

File tree

1 file changed

+0
-4
lines changed
  • packages/pluggableWidgets/datagrid-web/src/components

1 file changed

+0
-4
lines changed

packages/pluggableWidgets/datagrid-web/src/components/GridBody.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ interface Props {
88
className?: string;
99
children?: React.ReactNode;
1010
loadingType: LoadingTypeEnum;
11-
// isLoading: boolean;
1211
isFetchingNextBatch?: boolean;
1312
columnsHidable: boolean;
1413
columnsSize: number;
@@ -20,9 +19,6 @@ export function GridBody(props: Props): ReactElement {
2019
const { children } = props;
2120

2221
const content = (): React.ReactElement => {
23-
// if (props.isLoading) {
24-
// return <Loader {...props} rowsSize={props.rowsSize > 0 ? props.rowsSize : props.pageSize} />;
25-
// }
2622
return (
2723
<Fragment>
2824
{children}

0 commit comments

Comments
 (0)