fix(freesewing.dev): Fix in bare layout that had missing key
This commit is contained in:
parent
24e89eb791
commit
429b9bccf9
1 changed files with 6 additions and 4 deletions
|
@ -57,10 +57,12 @@ const DefaultLayout = ({ app, title=false, children=[] }) => {
|
|||
const router = useRouter()
|
||||
const slug = router.asPath.slice(1)
|
||||
|
||||
return [
|
||||
<Aside app={app} slug={slug} mobileOnly />,
|
||||
children
|
||||
]
|
||||
return (
|
||||
<>
|
||||
<Aside app={app} slug={slug} mobileOnly />
|
||||
{children}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default DefaultLayout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue