1
0
Fork 0

chore: Fixing linter warnings

This commit is contained in:
Joost De Cock 2022-07-12 20:09:17 +02:00
parent d3a87ad7d1
commit f9e3236253
37 changed files with 46 additions and 694 deletions

View file

@ -20,10 +20,7 @@ const DefaultLayout = ({ app, title=false, crumbs=false, children=[] }) => {
{title && (
<>
<Breadcrumbs title={title} crumbs={breadcrumbs} />
{title
? <h1>{title}</h1>
: <h1>{app.getTitle(slug)}</h1>
}
<h1>{title}</h1>
</>
)}
{children}