aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLena <lena.becker-3@mni.thm.de>2021-03-19 17:09:13 +0100
committerSascha <GlancingMind@outlook.com>2021-04-13 19:07:57 +0200
commit998ae348b10efd5af758944143b70125a98e8f86 (patch)
tree599279a1049af911274ecf11bbb2e439eb1f825f
parent7e368421d8329fadc748873e86e6bae61d99e6e3 (diff)
downloadgit-bug-998ae348b10efd5af758944143b70125a98e8f86.tar.gz
Fix warning missing key and color user name #12
-rw-r--r--webui/src/components/CurrentIdentity/CurrentIdentity.tsx1
-rw-r--r--webui/src/pages/identity/BugList.tsx3
2 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/components/CurrentIdentity/CurrentIdentity.tsx b/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
index f37cc0e4..962ce9ec 100644
--- a/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
+++ b/webui/src/components/CurrentIdentity/CurrentIdentity.tsx
@@ -28,6 +28,7 @@ const useStyles = makeStyles((theme) => ({
},
popupButton: {
textTransform: 'none',
+ color: theme.palette.primary.contrastText,
},
}));
diff --git a/webui/src/pages/identity/BugList.tsx b/webui/src/pages/identity/BugList.tsx
index 623deda5..e74c11d4 100644
--- a/webui/src/pages/identity/BugList.tsx
+++ b/webui/src/pages/identity/BugList.tsx
@@ -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}