Skip to content

Commit fa2293d

Browse files
committed
Prettier
1 parent 4dc8531 commit fa2293d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/core/components/Footer/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import { HSP } from 'common/constants/hsp';
88
const Footer = () => (
99
<footer className={style.footer}>
1010
<div className={style.footerContent}>
11-
{
12-
HSP ?
11+
{HSP ? (
1312
<div className={style.mainSponsor}>
1413
<a href={HSP.website} className={style.sponsor}>
1514
<img src={HSP.logo} alt={HSP.description} />
1615
</a>
1716
<span className={style.hsp}>Hovedsamarbeidspartner</span>
1817
</div>
19-
: <div />
20-
}
18+
) : (
19+
<div />
20+
)}
2121
<p>
2222
Har du funnet en feil på nettsiden?
2323
<br />

src/core/components/Header/Login.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@ const Login: React.FC<IProps> = (props) => {
4242
) : (
4343
<LoginView onClick={toggleDropdown} isOpen={isOpen} />
4444
)}
45-
{
46-
HSP &&
45+
{HSP && (
4746
<Link href={HSP.website}>
4847
<a className={style.hsp}>
4948
<img className={style.hspLogo} src={HSP.logo} alt={HSP.description} />
5049
</a>
5150
</Link>
52-
}
51+
)}
5352
</div>
5453
);
5554
};

0 commit comments

Comments
 (0)