diff --git a/src/ui/React/StatsTable.tsx b/src/ui/React/StatsTable.tsx index a5f7a01da..f5808b653 100644 --- a/src/ui/React/StatsTable.tsx +++ b/src/ui/React/StatsTable.tsx @@ -7,7 +7,7 @@ import TableRow from "@mui/material/TableRow"; import Typography from "@mui/material/Typography"; interface IProps { - rows: any[][]; + rows: React.ReactNode[][]; title?: string; wide?: boolean; } @@ -19,9 +19,9 @@ export function StatsTable({ rows, title, wide }: IProps): React.ReactElement { {title && {title}} - {rows.map((row: any[], i: number) => ( + {rows.map((row: React.ReactNode[], i: number) => ( - {row.map((elem: any, i: number) => ( + {row.map((elem: React.ReactNode, i: number) => ( {elem}