remove unused vars blocking lab and dev builds
This commit is contained in:
parent
994ce05168
commit
3f77ba58c0
18 changed files with 752 additions and 599 deletions
|
@ -3,8 +3,7 @@ import { useRouter } from 'next/router'
|
|||
import Header from 'site/components/header'
|
||||
import Footer from 'site/components/footer'
|
||||
|
||||
const LayoutWrapper = ({ app, title=false, children=[] }) => {
|
||||
|
||||
const LayoutWrapper = ({ app, children = [] }) => {
|
||||
const startNavigation = () => {
|
||||
app.startLoading()
|
||||
// Force close of menu on mobile if it is open
|
||||
|
@ -16,12 +15,14 @@ const LayoutWrapper = ({ app, title=false, children=[] }) => {
|
|||
router.events?.on('routeChangeComplete', app.stopLoading)
|
||||
|
||||
return (
|
||||
<div className={`
|
||||
<div
|
||||
className={`
|
||||
flex flex-col justify-between
|
||||
min-h-screen
|
||||
bg-base-100
|
||||
`}>
|
||||
<Header app={app}/>
|
||||
`}
|
||||
>
|
||||
<Header app={app} />
|
||||
<main className="grow">{children}</main>
|
||||
<Footer app={app} />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue