Skip to content

Commit

Permalink
Changed naming of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tanja04 committed Apr 3, 2024
1 parent 57fc73f commit 17b8599
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Jury/Jury.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ function Jury() {
<Grid container spacing={10}>
<Grid item xs={12} md={12}>
<Stack spacing={3}>
{jury.primary.map(jury_part => (
<WindowCard elevation={5} key={jury_part.name}>
{jury.primary.map(judge => (
<WindowCard elevation={5} key={judge.name}>
<Grid container spacing={5}>
<Grid item xs={12} md={3}>
<Paper sx={{
borderRadius: theme.components.MuiCard.styleOverrides.root.borderRadius,
background: `url(${jury_part.profilePicture})`,
background: `url(${judge.profilePicture})`,
backgroundPosition: "center",
backgroundSize: "cover",
backgroundColor: "#e0e0e0",
Expand All @@ -62,9 +62,9 @@ function Jury() {
<Grid item xs={12} md={9}>
<Stack spacing={3}>
<Box>
<Typography variant={"h4"}>{jury_part.name}</Typography>
<Typography variant={"h4"}>{judge.name}</Typography>
<Typography variant={"subtitle"} color={"text.disabled"}>
{jury_part.position}
{judge.position}
</Typography>
</Box>
<Typography
Expand All @@ -75,7 +75,7 @@ function Jury() {
//overflow: "hidden",
//textOverflow: "ellipsis"
}}>
{jury_part.description}
{judge.description}
</Typography>
</Stack>
</Grid>
Expand Down

0 comments on commit 17b8599

Please sign in to comment.