I'm using table of material-ui, like this img

When I hover the specific row, the background color will become dark, sometimes one row could have sub-row. I want the sub-row will become darker when I hover.
My design structure is like below, but this way only the selected tablecell being hovered, not all subRow's background color get darker.
I also tried wrappping sub tablecells of subrow into a tablerow/tablecell/div. It doesn't work, is there a better way to achieve this?
import { Table,TableHead,TableRow,TableCell,TableBody,Divider,makeStyles} from '@material-ui/core'
export default Table = () => {
const subRow=[{a:'test1',b:1},{a:'test2',b:2}]
const tableClasses = useStyles()
return(
<Table>
<TableHead>
<TableRow>
<TableCell />
</TableRow>
</TableHead>
<TableBody>
<TableRow>
<TableCell>WER</TableCell>
<TableCell> 234</TableCell>
<TableCell>
{subRow.map((e, index) => {
return (
<div className={tableClasses.subRow}>
<div> {e.a} </div>
{index < subCells.length - 1 && <Divider />}
</div>
);
})}
</TableCell>
<TableCell>
{subRow.map((e, index) => {
return (
<div className={tableClasses.subRow}>
<div> {e.a} </div>
{index < subCells.length - 1 && <Divider />}
</div>
);
})}
</TableCell>
</TableRow>
</TableBody>
</Table>;
)
const useStyles = makeStyles(() => ({
subRow:{
'&:hover':{
backgroundColor: 'red'
}},
}))
}