Fix warning missing key and color user name #12

This commit is contained in:
Lena 2021-03-19 17:09:13 +01:00 committed by Sascha
parent 7e368421d8
commit 998ae348b1
2 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,7 @@ const useStyles = makeStyles((theme) => ({
},
popupButton: {
textTransform: 'none',
color: theme.palette.primary.contrastText,
},
}));

View File

@ -39,12 +39,11 @@ function BugList({ humanId }: Props) {
if (error) return <p>Error: {error}</p>;
const bugs = data?.repository?.allBugs.nodes;
console.log(bugs);
return (
<div className={classes.main}>
{bugs?.map((bug, index) => {
return (
<Card className={classes.cards}>
<Card className={classes.cards} key={index}>
<Typography variant="overline" component="h2">
<Link
className={classes.bugLink}