diff --git a/optuna_dashboard/ts/components/DataGrid.tsx b/optuna_dashboard/ts/components/DataGrid.tsx index b606fde5..e640ee48 100644 --- a/optuna_dashboard/ts/components/DataGrid.tsx +++ b/optuna_dashboard/ts/components/DataGrid.tsx @@ -22,7 +22,6 @@ import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank" import CheckBoxIcon from "@mui/icons-material/CheckBox" import FilterListIcon from "@mui/icons-material/FilterList" import ListItemIcon from "@mui/material/ListItemIcon" -import { Margin } from "@mui/icons-material" type Order = "asc" | "desc" @@ -217,7 +216,7 @@ function DataGrid(props: { {filteredRows.length > 0 ? ( <> - {/* tslint:disable-next-line: 2590 */} + {/* @ts-ignore */} (props: { count={filteredRows.length} rowsPerPage={rowsPerPage} page={page} - labelDisplayedRows={({ page }) => `${page+1} of ${maxPageNumber}`} + labelDisplayedRows={({ page }) => + `${page + 1} of ${maxPageNumber}` + } onPageChange={handleChangePage} onRowsPerPageChange={handleChangeRowsPerPage} />