Fix warning missing key and color user name #12

Lena created

Change summary

webui/src/components/CurrentIdentity/CurrentIdentity.tsx | 1 +
webui/src/pages/identity/BugList.tsx                     | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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}