mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-13 20:13:15 +03:00
Fix warning missing key and color user name #12
This commit is contained in:
parent
7e368421d8
commit
998ae348b1
@ -28,6 +28,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
},
|
||||
popupButton: {
|
||||
textTransform: 'none',
|
||||
color: theme.palette.primary.contrastText,
|
||||
},
|
||||
}));
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user