Skip to content
Snippets Groups Projects
Commit 21404ef9 authored by Tore.Brede's avatar Tore.Brede
Browse files

Fixing more eslint warnings

parent 321eab57
No related branches found
No related tags found
1 merge request!54Adjust pipeline setup
Pipeline #93522 failed
...@@ -31,7 +31,7 @@ const externalLinkIcon = ( ...@@ -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"/> 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> </g>
</svg> </svg>
); )
const ExternalIcon = styled.span` const ExternalIcon = styled.span`
margin-left: 1.2rem; margin-left: 1.2rem;
......
...@@ -18,9 +18,9 @@ export default function FrontPage() { ...@@ -18,9 +18,9 @@ export default function FrontPage() {
setApiHealth(result) setApiHealth(result)
} }
}) })
// eslint-disable-next-line @typescript-eslint/no-unused-vars
.catch((error) => { .catch((error) => {
setApiHealth('error') setApiHealth('error')
console.log(error)
}) })
} }
return ( return (
......
...@@ -10,7 +10,6 @@ import FrontPage from 'routes/frontpage' ...@@ -10,7 +10,6 @@ import FrontPage from 'routes/frontpage'
import Footer from 'routes/components/footer' import Footer from 'routes/components/footer'
import Header from 'routes/components/header' import Header from 'routes/components/header'
import NotFound from 'routes/components/notFound' import NotFound from 'routes/components/notFound'
import Link from '../components/link'
const AppWrapper = styled.div` const AppWrapper = styled.div`
display: flex; display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment