Browse Source

disable header

pull/1/head
farhantock 10 months ago
parent
commit
283ef7e22c
  1. 23
      src/containers/DefaultLayout/DefaultLayout.js

23
src/containers/DefaultLayout/DefaultLayout.js

@ -269,9 +269,9 @@ class DefaultLayout extends Component {
return (
<div className="app">
<AppHeader fixed>
{/* <AppHeader fixed>
<DefaultHeader />
</AppHeader>
</AppHeader> */}
<div className="app-body">
{!window.location.href.includes("dashboard-project") || renderSidebar ? (
<AppSidebar minimized={this.state.minimized} fixed display="lg">
@ -339,16 +339,17 @@ class DefaultLayout extends Component {
</Suspense>
</AppAside>
</div>
{!this.isKominfo ?
(
<AppFooter>
<Suspense fallback={this.loading()}>
<DefaultFooter />
</Suspense>
</AppFooter>
) : null
{
!this.isKominfo ?
(
<AppFooter>
<Suspense fallback={this.loading()}>
<DefaultFooter />
</Suspense>
</AppFooter>
) : null
}
</div>
</div >
);
}
}

Loading…
Cancel
Save