1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 18:35:00 +01:00

header fix

This commit is contained in:
Matthias Kretschmann 2019-02-06 00:01:45 +01:00
parent 01f018a648
commit 408276abdd
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -26,16 +26,16 @@ export default class Header extends PureComponent {
render() {
const { minimal } = this.props
let headerClasses = classNames([styles.header], {
[styles.minimal]: minimal
})
return (
<StaticQuery
query={query}
render={data => {
const meta = data.dataYaml
let headerClasses = classNames([styles.header], {
[styles.minimal]: minimal
})
return (
<header className={headerClasses}>
<ThemeSwitch />