diff --git a/src/components/common/DataGrid.tsx b/src/components/common/DataGrid.tsx index 95de94981..a31985265 100644 --- a/src/components/common/DataGrid.tsx +++ b/src/components/common/DataGrid.tsx @@ -127,22 +127,21 @@ export function DataGrid({ renderEmpty={renderEmpty} > {data && ( -
+
{isValidElement(child) ? cloneElement(child as ReactElement, { displayMode }) : child} -
- )} - - +
+ )} + {showPager && (