mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 18:35:00 +01:00
header fix
This commit is contained in:
parent
01f018a648
commit
408276abdd
@ -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 />
|
||||
|
Loading…
Reference in New Issue
Block a user