From aacdde8082b727e975c0d942bf34476de0ba77ae Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 18 Jul 2022 02:57:11 -0400 Subject: [PATCH] fix any in StatsTable --- src/ui/React/StatsTable.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}