Skip to content

Commit ccbc378

Browse files
committed
Minor formatting fix
1 parent c348b6c commit ccbc378

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/templates/header.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import PropTypes from "prop-types"
22
import React from "react"
33
import { Nav } from 'bricks'
4-
import { Logo } from '../components/logo'
54
import { Link } from 'gatsby'
5+
import { Logo } from '../components/logo'
66

77
const links = [
88
{title: 'Work', link: '/work'},
@@ -12,8 +12,7 @@ const links = [
1212
{title: 'Contact', link: '/contact'},
1313
]
1414

15-
const Header = ({ siteTitle }) => {
16-
return (
15+
const Header = ({ siteTitle }) => (
1716
<header>
1817
<div>
1918
<Nav
@@ -24,7 +23,6 @@ const Header = ({ siteTitle }) => {
2423
</div>
2524
</header>
2625
)
27-
}
2826

2927
Header.propTypes = {
3028
siteTitle: PropTypes.string,

0 commit comments

Comments
 (0)