Fix DOM parse warnings

This commit is contained in:
nickofolas
2022-04-09 09:06:32 -05:00
parent 48895c8d2d
commit 4a0998c568
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export const StatsRow = ({ name, color, classes = useStyles(), children, data }:
<Typography style={{ color: color }}>{name}</Typography>
</TableCell>
<TableCell align="right" classes={{ root: classes.cellNone }}>
<Typography style={{ color: color }}>{content}</Typography>
{content ? <Typography style={{ color: color }}>{content}</Typography> : <></>}
{children}
</TableCell>
</TableRow>