1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

header fix

This commit is contained in:
Matthias Kretschmann 2018-11-09 15:47:43 +01:00
parent e54e742e0f
commit 2d42783f5e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,10 +1,9 @@
import React from 'react' import React from 'react'
import PropTypes from 'prop-types'
import { Link, StaticQuery, graphql } from 'gatsby' import { Link, StaticQuery, graphql } from 'gatsby'
import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo-white.svg' import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo-white.svg'
import styles from './Header.module.scss' import styles from './Header.module.scss'
const Header = ({ siteTitle }) => ( const Header = () => (
<StaticQuery <StaticQuery
query={graphql` query={graphql`
query { query {
@ -55,8 +54,4 @@ const Header = ({ siteTitle }) => (
/> />
) )
Header.propTypes = {
siteTitle: PropTypes.string
}
export default Header export default Header