sleeves to mui

This commit is contained in:
Olivier Gagnon
2021-09-26 20:55:38 -04:00
parent 3289f76cd0
commit 14e6dd0158
23 changed files with 658 additions and 630 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ export function StatsTable({ rows, title, wide }: IProps): React.ReactElement {
{title && <Typography>{title}</Typography>}
<T size="small" padding="none">
<TableBody>
{rows.map((row: any[]) => (
<TableRow key={row[0]}>
{rows.map((row: any[], i: number) => (
<TableRow key={i}>
{row.map((elem: any, i: number) => (
<TableCell key={i} align={i !== 0 ? "right" : "left"}>
<Typography noWrap>{elem}</Typography>