diff --git a/src/components/FiDataGrid.js b/src/components/FiDataGrid.js index a2ca107..f1a1f05 100644 --- a/src/components/FiDataGrid.js +++ b/src/components/FiDataGrid.js @@ -114,17 +114,12 @@ export function FiDataGrid({ rows, columns, sx, autoHeight, labelDisplayedRows={({ from, to, count }) => `${from}-${to} ${intl.formatMessage({ id: "of" })} ${count}` } - labelRowsPerPage={} + labelRowsPerPage={intl.formatMessage({ id: "rowsPerPage" }) + ":"} onPageChange={handleChangePage} onRowsPerPageChange={handleChangePageSize} /> ), }} - componentsProps={{ - pagination: { - labelRowsPerPage: intl.formatMessage({ id: "rowsPerPage" }) + ":", - }, - }} /> );