From 21404ef9a211d12554796ee10e42a6ab332d1355 Mon Sep 17 00:00:00 2001
From: Tore Brede <Tore.Brede@uib.no>
Date: Fri, 17 Sep 2021 09:49:59 +0200
Subject: [PATCH] Fixing more eslint warnings

---
 frontend/src/components/link/index.tsx  | 2 +-
 frontend/src/routes/frontpage/index.tsx | 2 +-
 frontend/src/routes/index.tsx           | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/frontend/src/components/link/index.tsx b/frontend/src/components/link/index.tsx
index 0065eea8..f701b98c 100644
--- a/frontend/src/components/link/index.tsx
+++ b/frontend/src/components/link/index.tsx
@@ -31,7 +31,7 @@ const externalLinkIcon = (
                 d="M16.807.19a.596.596 0 0 0-.426-.173h-4.854a.596.596 0 0 0-.426.173.548.548 0 0 0-.18.409c0 .157.06.294.18.409l1.668 1.598-6.18 5.923a.281.281 0 0 0-.095.21c0 .078.031.148.094.208L7.67 9.983a.306.306 0 0 0 .436 0l6.18-5.923 1.67 1.599c.12.115.262.172.426.172a.596.596 0 0 0 .426-.172.547.547 0 0 0 .18-.409V.599a.548.548 0 0 0-.18-.409z"/>
         </g>
     </svg>
-);
+)
 
 const ExternalIcon = styled.span`
   margin-left: 1.2rem;
diff --git a/frontend/src/routes/frontpage/index.tsx b/frontend/src/routes/frontpage/index.tsx
index df742e41..29b2159c 100644
--- a/frontend/src/routes/frontpage/index.tsx
+++ b/frontend/src/routes/frontpage/index.tsx
@@ -18,9 +18,9 @@ export default function FrontPage() {
           setApiHealth(result)
         }
       })
+        // eslint-disable-next-line @typescript-eslint/no-unused-vars
       .catch((error) => {
         setApiHealth('error')
-        console.log(error)
       })
   }
   return (
diff --git a/frontend/src/routes/index.tsx b/frontend/src/routes/index.tsx
index 014034b6..e9f0a2eb 100644
--- a/frontend/src/routes/index.tsx
+++ b/frontend/src/routes/index.tsx
@@ -10,7 +10,6 @@ import FrontPage from 'routes/frontpage'
 import Footer from 'routes/components/footer'
 import Header from 'routes/components/header'
 import NotFound from 'routes/components/notFound'
-import Link from '../components/link'
 
 const AppWrapper = styled.div`
   display: flex;
-- 
GitLab