Removed autohide navbar
This commit is contained in:
parent
ffb1d7a491
commit
e5d4cc55b2
@ -25,15 +25,6 @@ class App extends React.Component {
|
|||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.dispatch(loadConfig());
|
this.props.dispatch(loadConfig());
|
||||||
window.addEventListener('resize', this.closeDrawer);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
window.removeEventListener('resize', this.closeDrawer);
|
|
||||||
}
|
|
||||||
|
|
||||||
closeDrawer = () => {
|
|
||||||
this.setState({ navDrawerIsVisible: false });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configError(config) {
|
configError(config) {
|
||||||
@ -146,7 +137,7 @@ class App extends React.Component {
|
|||||||
<NavDrawer
|
<NavDrawer
|
||||||
active={navDrawerIsVisible}
|
active={navDrawerIsVisible}
|
||||||
scrollY
|
scrollY
|
||||||
permanentAt={navDrawerIsVisible && 'lg'}
|
permanentAt={navDrawerIsVisible ? 'lg' : null}
|
||||||
theme={styles}
|
theme={styles}
|
||||||
>
|
>
|
||||||
<nav className={styles.nav}>
|
<nav className={styles.nav}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user