Skip to content

Commit

Permalink
fix key error
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisibrahimd committed Aug 26, 2022
1 parent da6dff7 commit 9d3a3e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ScoreBoard/CustomRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function CustomRow(props: CustomRowProps) {
const classes = useRowStyles();
return (
<>
<TableRow className={classes.root}>
<TableRow key={row.team_id} className={classes.root}>
<TableCell>
<IconButton
aria-label="expand row"
Expand Down
4 changes: 1 addition & 3 deletions src/components/ScoreBoard/SingleTeamDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,6 @@ export default function SingleTeamDetails(props: CustomSingleTeamDetailsProps) {
currentHost.Services[service_id].Pause;
return (
<Accordion
TransitionProps={{
timeout: 700,
}}
expanded={expanded === keyName}
onChange={handleChange(keyName)}
className={
Expand All @@ -268,6 +265,7 @@ export default function SingleTeamDetails(props: CustomSingleTeamDetailsProps) {
: classes.customAccordionErrorHeader
: classes.customAccordionWarningHeader
}
key={service_id}
>
<AccordionSummary
expandIcon={<ExpandMoreIcon />}
Expand Down

0 comments on commit 9d3a3e8

Please sign in to comment.